Rename threaded_video_resolve to threaded_video_get_ptr

This commit is contained in:
twinaphex 2015-03-22 00:24:47 +01:00
parent 508ade73f9
commit 16cce08fa7
3 changed files with 6 additions and 6 deletions

View File

@ -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;

View File

@ -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)

View File

@ -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