From: Maciej Cencora Date: Sun, 23 Aug 2009 19:11:55 +0000 (+0200) Subject: r300: fix a typo X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e1801d861a4654b98fe67b5ee69d6732d80b06e2;p=mesa.git r300: fix a typo --- diff --git a/src/mesa/drivers/dri/r300/r300_render.c b/src/mesa/drivers/dri/r300/r300_render.c index e1a6fae57f3..37a40f6c36a 100644 --- a/src/mesa/drivers/dri/r300/r300_render.c +++ b/src/mesa/drivers/dri/r300/r300_render.c @@ -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; }