diff options
Diffstat (limited to 'src/video/opengl.h')
-rw-r--r-- | src/video/opengl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video/opengl.h b/src/video/opengl.h index 08ef56b9a..80555ca0b 100644 --- a/src/video/opengl.h +++ b/src/video/opengl.h @@ -13,6 +13,7 @@ #define VIDEO_OPENGL_H #include "../core/alloc_type.hpp" +#include "../core/geometry_type.hpp" typedef void (*OGLProc)(); typedef OGLProc (*GetOGLProcAddressProc)(const char *proc); @@ -42,7 +43,7 @@ public: static void Destroy(); bool Resize(int w, int h, bool force = false); - void Paint(); + void Paint(Rect update_rect); /** * Get a pointer to the memory for the video driver to draw to. |