mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 16:39:43 +00:00
(gfx/video_thread_wrapper.c) Minor cleanup
This commit is contained in:
parent
9ddf9b01cb
commit
9215ef7067
@ -161,15 +161,14 @@ static void thread_loop(void *data)
|
||||
|
||||
thr->cmd_data.b = ret;
|
||||
thr->frame.within_thread = false;
|
||||
thread_reply(thr, CMD_READ_VIEWPORT);
|
||||
}
|
||||
else
|
||||
{
|
||||
/* Viewport dimensions changed right after main
|
||||
* thread read the async value. Cannot read safely. */
|
||||
thr->cmd_data.b = false;
|
||||
thread_reply(thr, CMD_READ_VIEWPORT);
|
||||
}
|
||||
thread_reply(thr, CMD_READ_VIEWPORT);
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user