Make video_driver_is_threaded a public function
This commit is contained in:
parent
911acb8ead
commit
778e742470
|
@ -274,7 +274,7 @@ static bool hw_render_context_is_gl(enum retro_hw_context_type type)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool video_driver_is_threaded(void)
|
bool video_driver_is_threaded(void)
|
||||||
{
|
{
|
||||||
#ifdef HAVE_THREADS
|
#ifdef HAVE_THREADS
|
||||||
settings_t *settings = config_get_ptr();
|
settings_t *settings = config_get_ptr();
|
||||||
|
|
|
@ -339,6 +339,7 @@ void video_driver_set_own_driver(void);
|
||||||
void video_driver_unset_own_driver(void);
|
void video_driver_unset_own_driver(void);
|
||||||
bool video_driver_owns_driver(void);
|
bool video_driver_owns_driver(void);
|
||||||
bool video_driver_is_hw_context(void);
|
bool video_driver_is_hw_context(void);
|
||||||
|
bool video_driver_is_threaded(void);
|
||||||
void video_driver_deinit_hw_context(void);
|
void video_driver_deinit_hw_context(void);
|
||||||
struct retro_hw_render_callback *video_driver_get_hw_context(void);
|
struct retro_hw_render_callback *video_driver_get_hw_context(void);
|
||||||
const struct retro_hw_render_context_negotiation_interface *video_driver_get_context_negotiation_interface(void);
|
const struct retro_hw_render_context_negotiation_interface *video_driver_get_context_negotiation_interface(void);
|
||||||
|
|
Loading…
Reference in New Issue