@@ -211,12 +211,14 @@ const char *VideoDriver_CocoaOpenGL::Sta
if (fullscreen) this->ToggleFullscreen(fullscreen);
this->GameSizeChanged();
this->UpdateVideoModes();
MarkWholeScreenDirty();
this->is_game_threaded = !GetDriverParamBool(param, "no_threads") && !GetDriverParamBool(param, "no_thread");
return nullptr;
}
void VideoDriver_CocoaOpenGL::Stop()
{
@@ -224,12 +226,17 @@ void VideoDriver_CocoaOpenGL::Stop()
CGLSetCurrentContext(this->gl_context);
OpenGLBackend::Destroy();
CGLReleaseContext(this->gl_context);
void VideoDriver_CocoaOpenGL::PopulateSystemSprites()
OpenGLBackend::Get()->PopulateCursorCache();
void VideoDriver_CocoaOpenGL::ClearSystemSprites()
OpenGLBackend::Get()->ClearCursorCache();