tnl: Fix typo that resulted in fallback from SSE for EMIT_3UB_3F_RGB/BGR.
authorGuillaume Melquiond <guillaume.melquiond@gmail.com>
Tue, 9 Dec 2008 19:42:24 +0000 (11:42 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 9 Dec 2008 19:42:24 +0000 (11:42 -0800)
Bug #16520

src/mesa/tnl/t_vertex_sse.c

index 76043bd1b54ce16a817e3c5d7f1dcf6d86db2910..d8021a3d2ca07deec976250d42014c42c5bdf2c0 100644 (file)
@@ -539,8 +539,8 @@ static GLboolean build_vertex_emit( struct x86_program *p )
         }
         else {
            _mesa_printf("Can't emit 3ub\n");
+           return GL_FALSE;    /* add this later */
         }
-        return GL_FALSE;       /* add this later */
         break;
 
       case EMIT_4UB_4F_RGBA: