From e4499ed2768ab3ba71e45cb724d5d0591d619058 Mon Sep 17 00:00:00 2001 From: Felix Kuehling Date: Sat, 8 Jan 2005 15:51:11 +0000 Subject: [PATCH] Added missing break; to fix infinite recursion between choose_emit_func and emit_viewport4_bgra4_st2_st2. --- src/mesa/tnl/t_vertex.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/tnl/t_vertex.c b/src/mesa/tnl/t_vertex.c index 279e5c1bedb..e88df0707f1 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) { -- 2.30.2