@@ -107,12 +107,17 @@ const char *VideoDriver_SDL_OpenGL::Allo
this->gl_context = SDL_GL_CreateContext(this->sdl_window);
if (this->gl_context == nullptr) return "SDL2: Can't active GL context";
return OpenGLBackend::Create(&GetOGLProcAddressCallback);
}
void VideoDriver_SDL_OpenGL::PopulateSystemSprites()
{
OpenGLBackend::Get()->PopulateCursorCache();
void VideoDriver_SDL_OpenGL::ClearSystemSprites()
OpenGLBackend::Get()->ClearCursorCache();
bool VideoDriver_SDL_OpenGL::AllocateBackingStore(int w, int h, bool force)