diff --git a/gfx/video_thread_wrapper.c b/gfx/video_thread_wrapper.c index 9ae95cc977..a69cc39cef 100644 --- a/gfx/video_thread_wrapper.c +++ b/gfx/video_thread_wrapper.c @@ -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; }