Codechange: [OpenGL] Only update the dirty parts of the video buffer texture.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user