(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
1 changed files with 1 additions and 2 deletions

View File

@ -161,15 +161,14 @@ static void thread_loop(void *data)
thr->cmd_data.b = ret; thr->cmd_data.b = ret;
thr->frame.within_thread = false; thr->frame.within_thread = false;
thread_reply(thr, CMD_READ_VIEWPORT);
} }
else else
{ {
/* Viewport dimensions changed right after main /* Viewport dimensions changed right after main
* thread read the async value. Cannot read safely. */ * thread read the async value. Cannot read safely. */
thr->cmd_data.b = false; thr->cmd_data.b = false;
thread_reply(thr, CMD_READ_VIEWPORT);
} }
thread_reply(thr, CMD_READ_VIEWPORT);
break; break;
} }