BACKENDS: OPENGLSDL: Fix compilation with SDL1

This commit is contained in:
Eugene Sandulenko 2021-04-08 13:36:21 +02:00
parent af17cb30f4
commit fda5847789

View file

@ -315,7 +315,7 @@ void OpenGLSdlGraphicsManager::notifyResize(const int w, const int h) {
// so we do not overwrite the users requested window size whenever we
// switch aspect ratio or similar.
_gotResize = true;
if (!setupMode(width, height)) {
if (!setupMode(w, h)) {
warning("OpenGLSdlGraphicsManager::notifyResize: Resize failed ('%s')", SDL_GetError());
g_system->quit();
}