From 9215ef7067ba7fb377d77f312b1a92dbe37879db Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 11 Jan 2015 21:57:30 +0100 Subject: [PATCH] (gfx/video_thread_wrapper.c) Minor cleanup --- gfx/video_thread_wrapper.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; }