From 7d5b9f172aee68840c0a56e2d4679bce2002ca06 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 14 Sep 2016 22:46:29 +0200 Subject: [PATCH] Cleanups --- gfx/video_driver.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/gfx/video_driver.c b/gfx/video_driver.c index 8c64ab73fc..5f3767e06b 100644 --- a/gfx/video_driver.c +++ b/gfx/video_driver.c @@ -1712,8 +1712,7 @@ bool video_driver_is_alive(void) { if (current_video) return current_video->alive(video_driver_data); - else - return true; + return true; } bool video_driver_is_focused(void) @@ -2153,9 +2152,7 @@ void video_driver_frame(const void *data, unsigned width, video_driver_data, data, width, height, video_driver_frame_count, pitch, video_driver_msg)) - { video_driver_unset_active(); - } video_driver_frame_count++; }