mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-02 01:34:02 +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
|
||||
if (settings->video.threaded
|
||||
&& !global->system.hw_render_callback.context_type)
|
||||
return rarch_threaded_video_resolve(drv);
|
||||
return rarch_threaded_video_get_ptr(drv);
|
||||
#endif
|
||||
if (drv)
|
||||
*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.
|
||||
*
|
||||
* 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,
|
||||
* 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;
|
||||
|
||||
if (drv)
|
||||
|
@ -224,7 +224,7 @@ bool rarch_threaded_video_init(
|
||||
const video_driver_t *driver, const video_info_t *info);
|
||||
|
||||
/**
|
||||
* rarch_threaded_video_resolve:
|
||||
* rarch_threaded_video_get_ptr:
|
||||
* @drv : Found driver.
|
||||
*
|
||||
* 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,
|
||||
* NULL.
|
||||
**/
|
||||
void *rarch_threaded_video_resolve(const video_driver_t **drv);
|
||||
void *rarch_threaded_video_get_ptr(const video_driver_t **drv);
|
||||
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user