diff options
Diffstat (limited to 'engines/gob/video.cpp')
-rw-r--r-- | engines/gob/video.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/gob/video.cpp b/engines/gob/video.cpp index 83259c068d..1b52918a5b 100644 --- a/engines/gob/video.cpp +++ b/engines/gob/video.cpp @@ -151,6 +151,8 @@ Video::SurfaceDesc *Video::initSurfDesc(int16 vidMode, int16 width, int16 height void Video::freeSurfDesc(SurfaceDesc * surfDesc) { delete[] surfDesc->vidPtr; + // GOB2: surfDesc != _vm->_draw->_frontSurface (since _frontSurface is set + // to _pPrimarySurfDesc in Game::prepareStart(), is there a difference?) if (surfDesc != _vm->_global->_pPrimarySurfDesc) { _vm->_global->_sprAllocated--; delete surfDesc; |