glsl: Fix type of label 'default' in switch statement.
authorVinson Lee <vlee@vmware.com>
Sat, 20 Nov 2010 01:28:22 +0000 (17:28 -0800)
committerVinson Lee <vlee@vmware.com>
Sat, 20 Nov 2010 01:28:22 +0000 (17:28 -0800)
src/glsl/lower_vector.cpp

index ae501201004b30bebe06136dcc570a7bf5b2052c..93c37638bbd4eb7397cbcc61a49b65ac45169ce0 100644 (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);