mirror of
https://github.com/libretro/RetroArch
synced 2025-03-02 19:13:34 +00:00
Turn this function static
This commit is contained in:
parent
d9c2c91879
commit
92b0686a32
@ -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();
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user