OPENGLSDL: Redraw screen when receiving an expose event

Without this, the window is not refreshed when it is recovered or
minimized and restored.
This commit is contained in:
Le Philousophe 2022-10-15 15:30:45 +02:00
parent 18c196d83b
commit 06c38bbf3f

View File

@ -278,6 +278,7 @@ void OpenGLSdlGraphicsManager::updateScreen() {
}
void OpenGLSdlGraphicsManager::notifyVideoExpose() {
_forceRedraw = true;
}
void OpenGLSdlGraphicsManager::notifyResize(const int width, const int height) {