aboutsummaryrefslogtreecommitdiff
path: root/backends/graphics/openglsdl/openglsdl-graphics.h
diff options
context:
space:
mode:
Diffstat (limited to 'backends/graphics/openglsdl/openglsdl-graphics.h')
-rw-r--r--backends/graphics/openglsdl/openglsdl-graphics.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/backends/graphics/openglsdl/openglsdl-graphics.h b/backends/graphics/openglsdl/openglsdl-graphics.h
index 1a54dccbcd..8c7ff35764 100644
--- a/backends/graphics/openglsdl/openglsdl-graphics.h
+++ b/backends/graphics/openglsdl/openglsdl-graphics.h
@@ -53,6 +53,8 @@ public:
virtual bool notifyEvent(const Common::Event &event);
+ virtual void updateScreen();
+
protected:
virtual void internUpdateScreen();
@@ -96,6 +98,12 @@ protected:
// If screen was resized by the user
bool _screenResized;
+
+ // Ignore resize events for the number of updateScreen() calls.
+ // Normaly resize events are user generated when resizing the window
+ // from its borders, but in some cases a resize event can be generated
+ // after a fullscreen change.
+ int _ignoreResizeFrames;
};
#endif