OPENGL: Properly setup full game palette on video mode change if required.
This commit is contained in:
parent
1f4638fe82
commit
16898486fa
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue