Remove unused functions

t# Please enter the commit message for your changes. Lines starting
This commit is contained in:
twinaphex 2016-02-14 22:18:46 +01:00
parent e790b503d9
commit 5a2816c6da
2 changed files with 0 additions and 31 deletions

View File

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

View File

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