(gl) Fix gl->should_resize being always true

This commit is contained in:
Higor Eurípedes 2015-11-30 20:48:06 -03:00
parent ca48d12858
commit 0f339caf30

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))
{