summaryrefslogtreecommitdiff
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorMaciej Cencora <m.cencora@gmail.com>2009-08-23 21:11:55 +0200
committerMaciej Cencora <m.cencora@gmail.com>2009-08-23 21:30:43 +0200
commite1801d861a4654b98fe67b5ee69d6732d80b06e2 (patch)
treeb914c141b907dc5430ea9c623993acda0cb77344 /src/mesa/drivers
parentbcbe27d0ca304bb40c150a4fe5b846e8a987980e (diff)
r300: fix a typo
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/r300/r300_render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_render.c b/src/mesa/drivers/dri/r300/r300_render.c
index e1a6fae57f..37a40f6c36 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;
}