r300: fix a typo
authorMaciej Cencora <m.cencora@gmail.com>
Sun, 23 Aug 2009 19:11:55 +0000 (21:11 +0200)
committerMaciej Cencora <m.cencora@gmail.com>
Sun, 23 Aug 2009 19:30:43 +0000 (21:30 +0200)
src/mesa/drivers/dri/r300/r300_render.c

index e1a6fae57f380c326fc73e5119689a5ff01518b5..37a40f6c36ae4a8d7bac63eec74b87ed46c69b73 100644 (file)
@@ -396,7 +396,7 @@ void r300RunRenderPrimitive(GLcontext * ctx, int start, int end, int prim)
                GLuint first, incr, offset = 0;
 
                if (!split_prim_inplace(prim & PRIM_MODE_MASK, &first, &incr) &&
-                       num_verts > 65500) {
+                       num_verts > 65535) {
                        WARN_ONCE("Fixme: can't handle spliting prim %d\n", prim);
                        return;
                }