diff options
author | Alejandro Marzini | 2010-08-12 04:12:37 +0000 |
---|---|---|
committer | Alejandro Marzini | 2010-08-12 04:12:37 +0000 |
commit | a16ca00113cb715c697218ce069b43e59e8bd813 (patch) | |
tree | eafd7b455ada8d24b01d413973b90a8413a900e4 /backends/graphics/opengl/opengl-graphics.cpp | |
parent | 234aa49f17cc1a60629da825732b6741ca79a5f3 (diff) | |
download | scummvm-rg350-a16ca00113cb715c697218ce069b43e59e8bd813.tar.gz scummvm-rg350-a16ca00113cb715c697218ce069b43e59e8bd813.tar.bz2 scummvm-rg350-a16ca00113cb715c697218ce069b43e59e8bd813.zip |
OPENGL: Fix problem when switching between SDL and OpenGL Graphics Managers.
svn-id: r52025
Diffstat (limited to 'backends/graphics/opengl/opengl-graphics.cpp')
-rw-r--r-- | backends/graphics/opengl/opengl-graphics.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/graphics/opengl/opengl-graphics.cpp b/backends/graphics/opengl/opengl-graphics.cpp index 02e54ac8e4..0f6c8b648e 100644 --- a/backends/graphics/opengl/opengl-graphics.cpp +++ b/backends/graphics/opengl/opengl-graphics.cpp @@ -43,7 +43,7 @@ OpenGLGraphicsManager::OpenGLGraphicsManager() _desiredAspectRatio(kAspectRatio4_3), #endif _gameTexture(0), _overlayTexture(0), _cursorTexture(0), - _screenChangeCount(0), _screenNeedsRedraw(false), + _screenChangeCount(1 << (sizeof(int) * 8 - 2)), _screenNeedsRedraw(false), _shakePos(0), _overlayVisible(false), _overlayNeedsRedraw(false), _transactionMode(kTransactionNone), |