summaryrefslogtreecommitdiff
path: root/src/video/opengl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/video/opengl.h')
-rw-r--r--src/video/opengl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video/opengl.h b/src/video/opengl.h
index b0318f988..e5cd749f2 100644
--- a/src/video/opengl.h
+++ b/src/video/opengl.h
@@ -74,7 +74,7 @@ private:
OpenGLBackend();
~OpenGLBackend();
- const char *Init();
+ const char *Init(const Dimension &screen_res);
bool InitShaders();
void InternalClearCursorCache();
@@ -87,7 +87,7 @@ public:
{
return OpenGLBackend::instance;
}
- static const char *Create(GetOGLProcAddressProc get_proc);
+ static const char *Create(GetOGLProcAddressProc get_proc, const Dimension &screen_res);
static void Destroy();
void PrepareContext();