mirror of
https://github.com/libretro/RetroArch
synced 2025-04-15 23:42:30 +00:00
Rename threaded_video_resolve to threaded_video_get_ptr
This commit is contained in:
parent
508ade73f9
commit
16cce08fa7
@ -211,7 +211,7 @@ void *video_driver_get_ptr(const video_driver_t **drv)
|
|||||||
#ifdef HAVE_THREADS
|
#ifdef HAVE_THREADS
|
||||||
if (settings->video.threaded
|
if (settings->video.threaded
|
||||||
&& !global->system.hw_render_callback.context_type)
|
&& !global->system.hw_render_callback.context_type)
|
||||||
return rarch_threaded_video_resolve(drv);
|
return rarch_threaded_video_get_ptr(drv);
|
||||||
#endif
|
#endif
|
||||||
if (drv)
|
if (drv)
|
||||||
*drv = driver->video;
|
*drv = driver->video;
|
||||||
|
@ -1040,7 +1040,7 @@ bool rarch_threaded_video_init(const video_driver_t **out_driver,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* rarch_threaded_video_resolve:
|
* rarch_threaded_video_get_ptr:
|
||||||
* @drv : Found driver.
|
* @drv : Found driver.
|
||||||
*
|
*
|
||||||
* Gets the underlying video driver associated with the
|
* Gets the underlying video driver associated with the
|
||||||
@ -1051,9 +1051,9 @@ bool rarch_threaded_video_init(const video_driver_t **out_driver,
|
|||||||
* with the threaded wrapper (if successful). If not successful,
|
* with the threaded wrapper (if successful). If not successful,
|
||||||
* NULL.
|
* NULL.
|
||||||
**/
|
**/
|
||||||
void *rarch_threaded_video_resolve(const video_driver_t **drv)
|
void *rarch_threaded_video_get_ptr(const video_driver_t **drv)
|
||||||
{
|
{
|
||||||
driver_t *driver = driver_get_ptr();
|
driver_t *driver = driver_get_ptr();
|
||||||
const thread_video_t *thr = (const thread_video_t*)driver->video_data;
|
const thread_video_t *thr = (const thread_video_t*)driver->video_data;
|
||||||
|
|
||||||
if (drv)
|
if (drv)
|
||||||
|
@ -224,7 +224,7 @@ bool rarch_threaded_video_init(
|
|||||||
const video_driver_t *driver, const video_info_t *info);
|
const video_driver_t *driver, const video_info_t *info);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* rarch_threaded_video_resolve:
|
* rarch_threaded_video_get_ptr:
|
||||||
* @drv : Found driver.
|
* @drv : Found driver.
|
||||||
*
|
*
|
||||||
* Gets the underlying video driver associated with the
|
* Gets the underlying video driver associated with the
|
||||||
@ -235,7 +235,7 @@ bool rarch_threaded_video_init(
|
|||||||
* with the threaded wrapper (if successful). If not successful,
|
* with the threaded wrapper (if successful). If not successful,
|
||||||
* NULL.
|
* NULL.
|
||||||
**/
|
**/
|
||||||
void *rarch_threaded_video_resolve(const video_driver_t **drv);
|
void *rarch_threaded_video_get_ptr(const video_driver_t **drv);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user