diff options
-rw-r--r-- | engines/mohawk/graphics.cpp | 4 | ||||
-rw-r--r-- | engines/mohawk/graphics.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/mohawk/graphics.cpp b/engines/mohawk/graphics.cpp index 7906ae6182..ed30cc25cf 100644 --- a/engines/mohawk/graphics.cpp +++ b/engines/mohawk/graphics.cpp @@ -210,11 +210,11 @@ void GraphicsManager::copyAnimImageSectionToScreen(uint16 image, Common::Rect sr getVM()->_system->unlockScreen(); } -const Common::Rect MystGraphics::_viewport = Common::Rect(544, 332); - MystGraphics::MystGraphics(MohawkEngine_Myst* vm) : GraphicsManager(), _vm(vm) { _bmpDecoder = new MystBitmap(); + _viewport = Common::Rect(544, 332); + // The original version of Myst could run in 8bpp color too. // However, it dithered videos to 8bpp and they looked considerably // worse (than they already did :P). So we're not even going to diff --git a/engines/mohawk/graphics.h b/engines/mohawk/graphics.h index bf6f99af07..0dc281c391 100644 --- a/engines/mohawk/graphics.h +++ b/engines/mohawk/graphics.h @@ -145,7 +145,7 @@ private: Graphics::Surface *_backBuffer; Graphics::PixelFormat _pixelFormat; - static const Common::Rect _viewport; + Common::Rect _viewport; }; struct SFXERecord { |