diff options
author | Eugene Sandulenko | 2016-06-05 23:11:10 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-06-05 23:11:10 +0200 |
commit | 159d993f8ea7c14f91d4c44d4b22535dcadb58a1 (patch) | |
tree | 0a000db0e99788fe5855cfd90e012ce1564f9755 | |
parent | 3e0663a51676f7482a82c4b4afe24e4ee72b7787 (diff) | |
download | scummvm-rg350-159d993f8ea7c14f91d4c44d4b22535dcadb58a1.tar.gz scummvm-rg350-159d993f8ea7c14f91d4c44d4b22535dcadb58a1.tar.bz2 scummvm-rg350-159d993f8ea7c14f91d4c44d4b22535dcadb58a1.zip |
AGI: More class initialization
-rw-r--r-- | engines/agi/graphics.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/agi/graphics.cpp b/engines/agi/graphics.cpp index 24cd4f43d3..3b1b99f458 100644 --- a/engines/agi/graphics.cpp +++ b/engines/agi/graphics.cpp @@ -61,6 +61,14 @@ GfxMgr::GfxMgr(AgiBase *vm, GfxFont *font) : _vm(vm), _font(font) { _displayWidthMulAdjust = 0; // visualPos * (2+0) = displayPos _displayHeightMulAdjust = 0; // visualPos * (1+0) = displayPos + + _pixels = 0; + _displayPixels = 0; + + _activeScreen = NULL; + _gameScreen = NULL; + _priorityScreen = NULL; + _displayScreen = NULL; } /** |