Turn this function static

This commit is contained in:
twinaphex 2019-07-10 13:47:27 +02:00
parent d9c2c91879
commit 92b0686a32
2 changed files with 1 additions and 8 deletions

View File

@ -13982,11 +13982,6 @@ void video_driver_unset_video_cache_context_ack(void)
video_driver_cache_context_ack = false;
}
bool video_driver_is_video_cache_context_ack(void)
{
return video_driver_cache_context_ack;
}
bool video_driver_get_viewport_info(struct video_viewport *viewport)
{
if (!current_video || !current_video->viewport_info)
@ -15821,7 +15816,7 @@ void drivers_init(int flags)
video_driver_set_cached_frame_ptr(NULL);
video_driver_init_internal(&video_is_threaded);
if (!video_driver_is_video_cache_context_ack()
if (!video_driver_cache_context_ack
&& hwr->context_reset)
hwr->context_reset();
video_driver_unset_video_cache_context_ack();

View File

@ -1667,8 +1667,6 @@ bool video_driver_is_video_cache_context(void);
void video_driver_set_video_cache_context_ack(void);
bool video_driver_is_video_cache_context_ack(void);
bool video_driver_get_viewport_info(struct video_viewport *viewport);
#if defined(HAVE_MENU) && defined(HAVE_MENU_WIDGETS)