From e4fd66ed982c569bb1a1f0f0582806d8443c88a4 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 2 Oct 2014 11:31:31 +0200 Subject: [PATCH] (menu_shader.c) Fix dependency on shaders being there --- frontend/menu/menu_shader.c | 7 +------ frontend/menu/menu_shader.h | 2 -- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/frontend/menu/menu_shader.c b/frontend/menu/menu_shader.c index 98840eb52d..9eee944ae5 100644 --- a/frontend/menu/menu_shader.c +++ b/frontend/menu/menu_shader.c @@ -503,7 +503,7 @@ int menu_shader_manager_setting_toggle( return 0; } -int handle_shader_pass_setting(struct gfx_shader *shader, unsigned action) +static int handle_shader_pass_setting(struct gfx_shader *shader, unsigned action) { switch (action) { @@ -585,11 +585,6 @@ void menu_shader_manager_get_str(struct gfx_shader *shader, char *type_str, size_t type_str_size, const char *menu_label, const char *label, unsigned type) { } -int handle_shader_pass_setting(struct gfx_shader *shader) -{ - return 0; -} - void menu_shader_manager_apply_changes(void) { } #endif diff --git a/frontend/menu/menu_shader.h b/frontend/menu/menu_shader.h index 4db2d85029..1e35404dc1 100644 --- a/frontend/menu/menu_shader.h +++ b/frontend/menu/menu_shader.h @@ -41,8 +41,6 @@ void menu_shader_manager_get_str(struct gfx_shader *shader, char *type_str, size_t type_str_size, const char *menu_label, const char *label, unsigned type); -int handle_shader_pass_setting(struct gfx_shader *shader, unsigned action); - void menu_shader_manager_apply_changes(void); #endif