summaryrefslogtreecommitdiff
path: root/src/video/cocoa/cocoa_ogl.mm
diff options
context:
space:
mode:
Diffstat (limited to 'src/video/cocoa/cocoa_ogl.mm')
-rw-r--r--src/video/cocoa/cocoa_ogl.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video/cocoa/cocoa_ogl.mm b/src/video/cocoa/cocoa_ogl.mm
index f8c2e97e0..96c3ea1bf 100644
--- a/src/video/cocoa/cocoa_ogl.mm
+++ b/src/video/cocoa/cocoa_ogl.mm
@@ -254,7 +254,7 @@ const char *VideoDriver_CocoaOpenGL::AllocateContext(bool allow_software)
CGLSetCurrentContext(this->gl_context);
- return OpenGLBackend::Create(&GetOGLProcAddressCallback);
+ return OpenGLBackend::Create(&GetOGLProcAddressCallback, this->GetScreenSize());
}
NSView *VideoDriver_CocoaOpenGL::AllocateDrawView()