Revert "Revert "(gl) Fix gl->should_resize being always true""
This reverts commit d35840ebcd
.
This commit is contained in:
parent
d0340d0f80
commit
96da691728
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue