mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 10:18:05 +02:00
glsl: silence warning in linker.cpp
This commit is contained in:
parent
496bf3822a
commit
4470ff2ebf
1 changed files with 1 additions and 1 deletions
|
|
@ -1343,7 +1343,7 @@ assign_attribute_or_color_locations(gl_shader_program *prog,
|
|||
foreach_list(node, sh->ir) {
|
||||
ir_variable *const var = ((ir_instruction *) node)->as_variable();
|
||||
|
||||
if ((var == NULL) || (var->mode != direction))
|
||||
if ((var == NULL) || (var->mode != (unsigned) direction))
|
||||
continue;
|
||||
|
||||
if (var->explicit_location) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue