mirror of
https://github.com/libretro/RetroArch
synced 2025-04-16 08:43:10 +00:00
Move resize handling to d3d_alive
This commit is contained in:
parent
377c1f2661
commit
5453055135
@ -493,8 +493,13 @@ static bool d3d_alive(void *data)
|
|||||||
{
|
{
|
||||||
if (quit)
|
if (quit)
|
||||||
d3d->quitting = quit;
|
d3d->quitting = quit;
|
||||||
else if (resize)
|
|
||||||
|
if (resize)
|
||||||
|
{
|
||||||
d3d->should_resize = true;
|
d3d->should_resize = true;
|
||||||
|
gfx_ctx_set_resize(temp_width, temp_height);
|
||||||
|
d3d_restore(curD3D);
|
||||||
|
}
|
||||||
|
|
||||||
ret = !quit;
|
ret = !quit;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user