shader_driver_ctx_init_first renamed
This commit is contained in:
parent
fa58ff0348
commit
b7988a33fe
|
@ -2560,7 +2560,7 @@ static void *gl_init(const video_info_t *video, const input_driver_t **input, vo
|
||||||
hw_render->version_major, hw_render->version_minor);
|
hw_render->version_major, hw_render->version_minor);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (!shader_driver_ctx_init_first())
|
if (!video_shader_driver_init_first())
|
||||||
goto error;
|
goto error;
|
||||||
|
|
||||||
RARCH_LOG("[GL]: Default shader backend found: %s.\n", video_shader_driver_get_ident());
|
RARCH_LOG("[GL]: Default shader backend found: %s.\n", video_shader_driver_get_ident());
|
||||||
|
|
|
@ -57,13 +57,13 @@ const shader_backend_t *shader_ctx_find_driver(const char *ident)
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* shader_driver_ctx_init_first:
|
* video_shader_driver_init_first:
|
||||||
*
|
*
|
||||||
* Finds first suitable shader context driver.
|
* Finds first suitable shader context driver.
|
||||||
*
|
*
|
||||||
* Returns: true (1) if found, otherwise false (0).
|
* Returns: true (1) if found, otherwise false (0).
|
||||||
**/
|
**/
|
||||||
bool shader_driver_ctx_init_first(void)
|
bool video_shader_driver_init_first(void)
|
||||||
{
|
{
|
||||||
unsigned i;
|
unsigned i;
|
||||||
|
|
||||||
|
|
|
@ -105,13 +105,13 @@ void video_shader_driver_scale(unsigned idx, struct gfx_fbo_scale *scale);
|
||||||
const shader_backend_t *shader_ctx_find_driver(const char *ident);
|
const shader_backend_t *shader_ctx_find_driver(const char *ident);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* shader_driver_ctx_init_first:
|
* video_shader_driver_init_first:
|
||||||
*
|
*
|
||||||
* Finds first suitable shader context driver.
|
* Finds first suitable shader context driver.
|
||||||
*
|
*
|
||||||
* Returns: shader context driver if found, otherwise NULL.
|
* Returns: shader context driver if found, otherwise NULL.
|
||||||
**/
|
**/
|
||||||
bool shader_driver_ctx_init_first(void);
|
bool video_shader_driver_init_first(void);
|
||||||
|
|
||||||
struct video_shader *video_shader_driver_get_current_shader(void);
|
struct video_shader *video_shader_driver_get_current_shader(void);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue