From 777f2df35c62990df5f4a0e4658bbe86a1c1bb71 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 6 Nov 2016 13:38:31 +0100 Subject: [PATCH] Remove video_driver_unset_active --- gfx/video_driver.c | 7 +------ gfx/video_driver.h | 1 - 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/gfx/video_driver.c b/gfx/video_driver.c index c07ffe6974..18b58e01e5 100644 --- a/gfx/video_driver.c +++ b/gfx/video_driver.c @@ -1859,11 +1859,6 @@ void video_driver_set_active(void) video_driver_active = true; } -void video_driver_unset_active(void) -{ - video_driver_active = false; -} - bool video_driver_is_active(void) { return video_driver_active; @@ -2126,7 +2121,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_active = false; video_driver_frame_count++; } diff --git a/gfx/video_driver.h b/gfx/video_driver.h index 74e055c581..47b256affd 100644 --- a/gfx/video_driver.h +++ b/gfx/video_driver.h @@ -269,7 +269,6 @@ void video_driver_set_video_cache_context_ack(void); void video_driver_unset_video_cache_context_ack(void); bool video_driver_is_video_cache_context_ack(void); void video_driver_set_active(void); -void video_driver_unset_active(void); bool video_driver_is_active(void); bool video_driver_has_gpu_record(void); uint8_t *video_driver_get_gpu_record(void);