[Scummvm-git-logs] scummvm master -> 06c38bbf3fa9d1274897be78a1ff5cac417fd99c
lephilousophe
noreply at scummvm.org
Sun Oct 30 11:34:27 UTC 2022
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
06c38bbf3f OPENGLSDL: Redraw screen when receiving an expose event
Commit: 06c38bbf3fa9d1274897be78a1ff5cac417fd99c
https://github.com/scummvm/scummvm/commit/06c38bbf3fa9d1274897be78a1ff5cac417fd99c
Author: Le Philousophe (lephilousophe at users.noreply.github.com)
Date: 2022-10-30T12:34:23+01:00
Commit Message:
OPENGLSDL: Redraw screen when receiving an expose event
Without this, the window is not refreshed when it is recovered or
minimized and restored.
Changed paths:
backends/graphics/openglsdl/openglsdl-graphics.cpp
diff --git a/backends/graphics/openglsdl/openglsdl-graphics.cpp b/backends/graphics/openglsdl/openglsdl-graphics.cpp
index fe57e905fa0..d18c7a3a1f9 100644
--- a/backends/graphics/openglsdl/openglsdl-graphics.cpp
+++ b/backends/graphics/openglsdl/openglsdl-graphics.cpp
@@ -278,6 +278,7 @@ void OpenGLSdlGraphicsManager::updateScreen() {
}
void OpenGLSdlGraphicsManager::notifyVideoExpose() {
+ _forceRedraw = true;
}
void OpenGLSdlGraphicsManager::notifyResize(const int width, const int height) {
More information about the Scummvm-git-logs
mailing list