(gfx/video_thread_wrapper.c) Minor cleanup

This commit is contained in:
twinaphex 2015-01-11 21:57:30 +01:00
parent 9ddf9b01cb
commit 9215ef7067

View File

@ -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;
}