Merge branch 'master' into jgrpp
This commit is contained in:
@@ -75,7 +75,6 @@ const char *VideoDriver_SDL_OpenGL::Start(const StringList ¶m)
|
||||
this->ClientSizeChanged(w, h, true);
|
||||
|
||||
SDL_GL_SetSwapInterval(GetDriverParamBool(param, "vsync") ? 1 : 0);
|
||||
this->draw_threaded = false;
|
||||
|
||||
return nullptr;
|
||||
}
|
||||
@@ -115,6 +114,11 @@ const char *VideoDriver_SDL_OpenGL::AllocateContext()
|
||||
return OpenGLBackend::Create(&GetOGLProcAddressCallback);
|
||||
}
|
||||
|
||||
void VideoDriver_SDL_OpenGL::PopulateSystemSprites()
|
||||
{
|
||||
OpenGLBackend::Get()->PopulateCursorCache();
|
||||
}
|
||||
|
||||
void VideoDriver_SDL_OpenGL::ClearSystemSprites()
|
||||
{
|
||||
OpenGLBackend::Get()->ClearCursorCache();
|
||||
|
||||
Reference in New Issue
Block a user