Move resize handling to d3d_alive

This commit is contained in:
twinaphex 2016-01-08 05:06:12 +01:00
parent 377c1f2661
commit 5453055135

View File

@ -493,8 +493,13 @@ static bool d3d_alive(void *data)
{
if (quit)
d3d->quitting = quit;
else if (resize)
if (resize)
{
d3d->should_resize = true;
gfx_ctx_set_resize(temp_width, temp_height);
d3d_restore(curD3D);
}
ret = !quit;
}