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.mm4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video/cocoa/cocoa_ogl.mm b/src/video/cocoa/cocoa_ogl.mm
index 30c299d3d..96c7fcc54 100644
--- a/src/video/cocoa/cocoa_ogl.mm
+++ b/src/video/cocoa/cocoa_ogl.mm
@@ -234,11 +234,15 @@ void VideoDriver_CocoaOpenGL::Stop()
void VideoDriver_CocoaOpenGL::PopulateSystemSprites()
{
+ VideoDriver_Cocoa::PopulateSystemSprites();
+
OpenGLBackend::Get()->PopulateCursorCache();
}
void VideoDriver_CocoaOpenGL::ClearSystemSprites()
{
+ VideoDriver_Cocoa::ClearSystemSprites();
+
CGLSetCurrentContext(this->gl_context);
OpenGLBackend::Get()->ClearCursorCache();
}