glsl: Fix type of label 'default' in switch statement.

This commit is contained in:
Vinson Lee 2010-11-19 17:28:22 -08:00
parent 7aebe181f3
commit a172368ef1
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@ lower_vector_visitor::handle_rvalue(ir_rvalue **rvalue)
case GLSL_TYPE_INT: d.i[assigned] = c->value.i[0]; break;
case GLSL_TYPE_FLOAT: d.f[assigned] = c->value.f[0]; break;
case GLSL_TYPE_BOOL: d.b[assigned] = c->value.b[0]; break;
defatul: assert(!"Should not get here."); break;
default: assert(!"Should not get here."); break;
}
write_mask |= (1U << i);