diff --git a/src/video/opengl.h b/src/video/opengl.h --- 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.