SCI: Fix compilation when SCI32 is disabled

Thanks bSr43
This commit is contained in:
Willem Jan Palenstijn 2016-01-10 12:38:10 +01:00
parent 665dd630c7
commit 22796e559f
2 changed files with 2 additions and 2 deletions

View file

@ -619,7 +619,6 @@ void SciEngine::initGraphics() {
_gfxPaint = 0; _gfxPaint = 0;
_gfxPaint16 = 0; _gfxPaint16 = 0;
_gfxPalette16 = 0; _gfxPalette16 = 0;
_gfxPalette32 = 0;
_gfxPorts = 0; _gfxPorts = 0;
_gfxText16 = 0; _gfxText16 = 0;
_gfxTransitions = 0; _gfxTransitions = 0;
@ -629,6 +628,7 @@ void SciEngine::initGraphics() {
_robotDecoder = 0; _robotDecoder = 0;
_gfxFrameout = 0; _gfxFrameout = 0;
_gfxPaint32 = 0; _gfxPaint32 = 0;
_gfxPalette32 = 0;
#endif #endif
if (hasMacIconBar()) if (hasMacIconBar())

View file

@ -70,6 +70,7 @@ class GfxPaint;
class GfxPaint16; class GfxPaint16;
class GfxPaint32; class GfxPaint32;
class GfxPalette; class GfxPalette;
class GfxPalette32;
class GfxPorts; class GfxPorts;
class GfxScreen; class GfxScreen;
class GfxText16; class GfxText16;
@ -79,7 +80,6 @@ class GfxTransitions;
#ifdef ENABLE_SCI32 #ifdef ENABLE_SCI32
class RobotDecoder; class RobotDecoder;
class GfxFrameout; class GfxFrameout;
class GfxPalette32;
#endif #endif
// our engine debug levels // our engine debug levels