summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Kuehling <fxkuehl@gmx.de>2005-01-08 15:51:11 +0000
committerFelix Kuehling <fxkuehl@gmx.de>2005-01-08 15:51:11 +0000
commite4499ed2768ab3ba71e45cb724d5d0591d619058 (patch)
tree4c3006b9d1c3ff0c4822571599a7145fcd125397
parent675b92515ab016038ab47f37d83631fb3713384e (diff)
Added missing break; to fix infinite recursion between choose_emit_func
and emit_viewport4_bgra4_st2_st2.
-rw-r--r--src/mesa/tnl/t_vertex.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/tnl/t_vertex.c b/src/mesa/tnl/t_vertex.c
index 279e5c1bed..e88df0707f 100644
--- a/src/mesa/tnl/t_vertex.c
+++ b/src/mesa/tnl/t_vertex.c
@@ -1127,6 +1127,7 @@ static void choose_emit_func( GLcontext *ctx, GLuint count, GLubyte *dest)
a[0].emit == insert_4f_viewport_4)
vtx->emit = emit_viewport4_bgra4_st2;
}
+ break;
case 4:
if (a[2].emit == insert_2f_2 &&
a[3].emit == insert_2f_2) {