diff options
author | Johannes Schickel | 2014-02-11 11:07:38 +0100 |
---|---|---|
committer | Johannes Schickel | 2014-02-11 11:10:49 +0100 |
commit | 16898486fa28cb428183d94552f2c9884a718c9f (patch) | |
tree | c659a66ff7059265a107078300c4a2b592949cf0 | |
parent | 1f4638fe823d87ca6b45a79779aff9712e06ec58 (diff) | |
download | scummvm-rg350-16898486fa28cb428183d94552f2c9884a718c9f.tar.gz scummvm-rg350-16898486fa28cb428183d94552f2c9884a718c9f.tar.bz2 scummvm-rg350-16898486fa28cb428183d94552f2c9884a718c9f.zip |
OPENGL: Properly setup full game palette on video mode change if required.
-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 c60069f6df..3321689366 100644 --- a/backends/graphics/opengl/opengl-graphics.cpp +++ b/backends/graphics/opengl/opengl-graphics.cpp @@ -272,7 +272,7 @@ OSystem::TransactionError OpenGLGraphicsManager::endGFXTransaction() { #endif assert(_gameScreen); if (_gameScreen->hasPalette()) { - _gameScreen->setPalette(0, 255, _gamePalette); + _gameScreen->setPalette(0, 256, _gamePalette); } _gameScreen->allocate(_currentState.gameWidth, _currentState.gameHeight); |