Module: Mesa Branch: master Commit: a172368ef1500fd2c7c1e55133e8e098b73d97a5 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a172368ef1500fd2c7c1e55133e8e098b73d97a5
Author: Vinson Lee <[email protected]> Date: Fri Nov 19 17:28:22 2010 -0800 glsl: Fix type of label 'default' in switch statement. --- src/glsl/lower_vector.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/glsl/lower_vector.cpp b/src/glsl/lower_vector.cpp index ae50120..93c3763 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); _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
