diff options
Diffstat (limited to 'engines/titanic/support/screen_manager.cpp')
| -rw-r--r-- | engines/titanic/support/screen_manager.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/titanic/support/screen_manager.cpp b/engines/titanic/support/screen_manager.cpp index 2a675394b5..553486d094 100644 --- a/engines/titanic/support/screen_manager.cpp +++ b/engines/titanic/support/screen_manager.cpp @@ -293,13 +293,13 @@ void OSScreenManager::clearSurface(SurfaceNum surfaceNum, Rect *bounds) { _directDrawManager._backSurfaces[surfaceNum]->fill(bounds, 0); } -void OSScreenManager::resizeSurface(CVideoSurface *surface, int width, int height) { - DirectDrawSurface *ddSurface = _directDrawManager.createSurface(width, height, 0); +void OSScreenManager::resizeSurface(CVideoSurface *surface, int width, int height, int bpp) { + DirectDrawSurface *ddSurface = _directDrawManager.createSurface(width, height, bpp, 0); surface->setSurface(this, ddSurface); } -CVideoSurface *OSScreenManager::createSurface(int w, int h) { - DirectDrawSurface *ddSurface = _directDrawManager.createSurface(w, h, 0); +CVideoSurface *OSScreenManager::createSurface(int w, int h, int bpp) { + DirectDrawSurface *ddSurface = _directDrawManager.createSurface(w, h, bpp, 0); return new OSVideoSurface(this, ddSurface); } |
