diff --git a/gfx/video_shader_driver.c b/gfx/video_shader_driver.c index f0ca5006db..f27ea259fb 100644 --- a/gfx/video_shader_driver.c +++ b/gfx/video_shader_driver.c @@ -37,27 +37,6 @@ static const shader_backend_t *shader_ctx_drivers[] = { static const shader_backend_t *current_shader; static void *shader_data; -/** - * shader_ctx_find_driver: - * @ident : Identifier of shader context driver to find. - * - * Finds shader context driver and initializes. - * - * Returns: shader context driver if found, otherwise NULL. - **/ -const shader_backend_t *shader_ctx_find_driver(const char *ident) -{ - unsigned i; - - for (i = 0; shader_ctx_drivers[i]; i++) - { - if (string_is_equal(shader_ctx_drivers[i]->ident, ident)) - return shader_ctx_drivers[i]; - } - - return NULL; -} - unsigned video_shader_driver_get_prev_textures(void) { if (!current_shader) diff --git a/gfx/video_shader_driver.h b/gfx/video_shader_driver.h index ac9170d1a5..160653f587 100644 --- a/gfx/video_shader_driver.h +++ b/gfx/video_shader_driver.h @@ -187,16 +187,6 @@ extern const shader_backend_t hlsl_backend; extern const shader_backend_t gl_cg_backend; extern const shader_backend_t shader_null_backend; -/** - * shader_ctx_find_driver: - * @ident : Identifier of shader context driver to find. - * - * Finds shader context driver and initializes. - * - * Returns: shader context driver if found, otherwise NULL. - **/ -const shader_backend_t *shader_ctx_find_driver(const char *ident); - unsigned video_shader_driver_get_prev_textures(void); bool video_shader_driver_ctl(enum video_shader_driver_ctl_state state, void *data);