Remove video_driver_unset_active

This commit is contained in:
twinaphex 2016-11-06 13:38:31 +01:00
parent 8acb4cac78
commit 777f2df35c
2 changed files with 1 additions and 7 deletions

View File

@ -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++;
}

View File

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