mirror of
https://github.com/libretro/RetroArch
synced 2025-04-07 13:23:32 +00:00
Remove unused functions
t# Please enter the commit message for your changes. Lines starting
This commit is contained in:
parent
e790b503d9
commit
5a2816c6da
@ -37,27 +37,6 @@ static const shader_backend_t *shader_ctx_drivers[] = {
|
|||||||
static const shader_backend_t *current_shader;
|
static const shader_backend_t *current_shader;
|
||||||
static void *shader_data;
|
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)
|
unsigned video_shader_driver_get_prev_textures(void)
|
||||||
{
|
{
|
||||||
if (!current_shader)
|
if (!current_shader)
|
||||||
|
@ -187,16 +187,6 @@ extern const shader_backend_t hlsl_backend;
|
|||||||
extern const shader_backend_t gl_cg_backend;
|
extern const shader_backend_t gl_cg_backend;
|
||||||
extern const shader_backend_t shader_null_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);
|
unsigned video_shader_driver_get_prev_textures(void);
|
||||||
|
|
||||||
bool video_shader_driver_ctl(enum video_shader_driver_ctl_state state, void *data);
|
bool video_shader_driver_ctl(enum video_shader_driver_ctl_state state, void *data);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user