mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-21 01:08:25 +00:00
MOHAWK: Remove global construction of _viewport
svn-id: r54945
This commit is contained in:
parent
44dfb67faa
commit
8ec9f96d54
@ -210,11 +210,11 @@ void GraphicsManager::copyAnimImageSectionToScreen(uint16 image, Common::Rect sr
|
|||||||
getVM()->_system->unlockScreen();
|
getVM()->_system->unlockScreen();
|
||||||
}
|
}
|
||||||
|
|
||||||
const Common::Rect MystGraphics::_viewport = Common::Rect(544, 332);
|
|
||||||
|
|
||||||
MystGraphics::MystGraphics(MohawkEngine_Myst* vm) : GraphicsManager(), _vm(vm) {
|
MystGraphics::MystGraphics(MohawkEngine_Myst* vm) : GraphicsManager(), _vm(vm) {
|
||||||
_bmpDecoder = new MystBitmap();
|
_bmpDecoder = new MystBitmap();
|
||||||
|
|
||||||
|
_viewport = Common::Rect(544, 332);
|
||||||
|
|
||||||
// The original version of Myst could run in 8bpp color too.
|
// The original version of Myst could run in 8bpp color too.
|
||||||
// However, it dithered videos to 8bpp and they looked considerably
|
// However, it dithered videos to 8bpp and they looked considerably
|
||||||
// worse (than they already did :P). So we're not even going to
|
// worse (than they already did :P). So we're not even going to
|
||||||
|
@ -145,7 +145,7 @@ private:
|
|||||||
|
|
||||||
Graphics::Surface *_backBuffer;
|
Graphics::Surface *_backBuffer;
|
||||||
Graphics::PixelFormat _pixelFormat;
|
Graphics::PixelFormat _pixelFormat;
|
||||||
static const Common::Rect _viewport;
|
Common::Rect _viewport;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct SFXERecord {
|
struct SFXERecord {
|
||||||
|
Loading…
Reference in New Issue
Block a user