Fix: [OpenGL] Check maximum supported texture size against screen resolution.
This commit is contained in:
@@ -117,7 +117,7 @@ const char *VideoDriver_SDL_OpenGL::AllocateContext()
|
||||
|
||||
ToggleVsync(_video_vsync);
|
||||
|
||||
return OpenGLBackend::Create(&GetOGLProcAddressCallback);
|
||||
return OpenGLBackend::Create(&GetOGLProcAddressCallback, this->GetScreenSize());
|
||||
}
|
||||
|
||||
void VideoDriver_SDL_OpenGL::PopulateSystemSprites()
|
||||
|
||||
Reference in New Issue
Block a user