mirror of
https://github.com/libretro/RetroArch
synced 2025-02-11 15:40:28 +00:00
Silence warnings
This commit is contained in:
parent
1edaa20029
commit
ef43a573a3
@ -209,6 +209,8 @@ static INLINE bool gl_check_error(char *error_string)
|
|||||||
error_string = strdup("Non specified GL error.");
|
error_string = strdup("Non specified GL error.");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
(void)error_string;
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -693,7 +693,9 @@ static void *gl_glsl_init(void *data, const char *path)
|
|||||||
unsigned i;
|
unsigned i;
|
||||||
struct shader_program_info shader_prog_info;
|
struct shader_program_info shader_prog_info;
|
||||||
bool shader_support = false;
|
bool shader_support = false;
|
||||||
|
#ifdef GLSL_DEBUG
|
||||||
char *error_string = NULL;
|
char *error_string = NULL;
|
||||||
|
#endif
|
||||||
config_file_t *conf = NULL;
|
config_file_t *conf = NULL;
|
||||||
const char *stock_vertex = NULL;
|
const char *stock_vertex = NULL;
|
||||||
const char *stock_fragment = NULL;
|
const char *stock_fragment = NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user