summaryrefslogtreecommitdiffstats
path: root/src/glsl/lower_vector.cpp
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-11-19 17:28:22 -0800
committerVinson Lee <[email protected]>2010-11-19 17:28:22 -0800
commita172368ef1500fd2c7c1e55133e8e098b73d97a5 (patch)
tree54611a0b7a9d7f175fe7c62715e9f0001ee4decc /src/glsl/lower_vector.cpp
parent7aebe181f3eea51ae76f7abe200df239c7dd948a (diff)
glsl: Fix type of label 'default' in switch statement.
Diffstat (limited to 'src/glsl/lower_vector.cpp')
-rw-r--r--src/glsl/lower_vector.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/lower_vector.cpp b/src/glsl/lower_vector.cpp
index ae501201004..93c37638bbd 100644
--- a/src/glsl/lower_vector.cpp
+++ b/src/glsl/lower_vector.cpp
@@ -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);