From ced40b2266976d0129294a1c5925b7d88024b2de Mon Sep 17 00:00:00 2001 From: Willem Jan Palenstijn Date: Sun, 8 Mar 2009 20:17:01 +0000 Subject: Use new Palette class to manager pixmap palettes. There are some remaining regressions with text colour in SCI1 games, but overall it should fix more than it breaks. svn-id: r39242 --- engines/sci/gfx/resmgr.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'engines/sci/gfx/resmgr.cpp') diff --git a/engines/sci/gfx/resmgr.cpp b/engines/sci/gfx/resmgr.cpp index 1737c2e6fa..45ec5adfbb 100644 --- a/engines/sci/gfx/resmgr.cpp +++ b/engines/sci/gfx/resmgr.cpp @@ -58,6 +58,7 @@ gfx_resstate_t *gfxr_new_resource_manager(int version, gfx_options_t *options, g state->options = options; state->driver = driver; state->misc_payload = misc_payload; + state->static_palette = 0; state->tag_lock_counter = state->lock_counter = 0; for (ii = 0; ii < GFX_RESOURCE_TYPES_NR; ii++) { -- cgit v1.2.3