glsl: Silence many unused parameter warnings
In file included from ../../src/glsl/builtin_functions.cpp:61:0: ../../src/glsl/glsl_parser_extras.h:154:9: warning: unused parameter 'var' [-Wunused-parameter] Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
This commit is contained in:
parent
f9ebb1ea77
commit
3552aa7c1c
|
@ -152,7 +152,7 @@ struct _mesa_glsl_parse_state {
|
|||
}
|
||||
|
||||
bool check_explicit_uniform_location_allowed(YYLTYPE *locp,
|
||||
const ir_variable *var)
|
||||
const ir_variable *)
|
||||
{
|
||||
if (!this->has_explicit_attrib_location() ||
|
||||
!this->ARB_explicit_uniform_location_enable) {
|
||||
|
|
Loading…
Reference in New Issue