Added missing break; to fix infinite recursion between choose_emit_func
authorFelix Kuehling <fxkuehl@gmx.de>
Sat, 8 Jan 2005 15:51:11 +0000 (15:51 +0000)
committerFelix Kuehling <fxkuehl@gmx.de>
Sat, 8 Jan 2005 15:51:11 +0000 (15:51 +0000)
and emit_viewport4_bgra4_st2_st2.

src/mesa/tnl/t_vertex.c

index 279e5c1bedb0cf6a140b709e7c5bdfc5ad2748a7..e88df0707f1b18c1c69f8d399a591c7d1d18d1c6 100644 (file)
@@ -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) {