diff --git a/gfx/gl.c b/gfx/gl.c index 4fd2a91d46..6da4f8c1f5 100644 --- a/gfx/gl.c +++ b/gfx/gl.c @@ -1109,6 +1109,13 @@ static void* gl_init(const video_info_t *video, const input_driver_t **input, vo } SSNES_LOG("GL: Using resolution %ux%u\n", gl->win_width, gl->win_height); + video_info = SDL_GetVideoInfo(); + if (gl->win_width != video_info->current_w || gl->win_height != video_info->current_h) + { + gl->win_width = video_info->current_w; + gl->win_height = video_info->current_h; + SSNES_WARN("GL: Did not get requested resolution, got %ux%u ...\n", gl->win_width, gl->win_height); + } if (!gl_shader_init()) {