File diff r25013:4c02a1340d93 → r25014:e1f1bf3a062e
src/video/sdl2_opengl_v.cpp
Show inline comments
 
@@ -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)