aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r300/r300_render.c
diff options
context:
space:
mode:
authorMaciej Cencora <[email protected]>2009-08-23 21:11:55 +0200
committerMaciej Cencora <[email protected]>2009-08-23 21:30:43 +0200
commite1801d861a4654b98fe67b5ee69d6732d80b06e2 (patch)
treeb914c141b907dc5430ea9c623993acda0cb77344 /src/mesa/drivers/dri/r300/r300_render.c
parentbcbe27d0ca304bb40c150a4fe5b846e8a987980e (diff)
r300: fix a typo
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_render.c')
-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 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;
}