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);