Revert "Revert "(gl) Fix gl->should_resize being always true""

This reverts commit d35840ebcd4088182e7d4021881672270655c91e.
This commit is contained in:
Twinaphex 2015-12-01 07:15:06 +01:00
parent d0340d0f80
commit 96da691728

View File

@ -2678,6 +2678,9 @@ static bool gl_alive(void *data)
bool quit = false, resize = false;
gl_t *gl = (gl_t*)data;
/* Needed because some context drivers don't track their sizes */
video_driver_get_size(&temp_width, &temp_height);
if (gfx_ctx_check_window(data, &quit,
&resize, &temp_width, &temp_height))
{