summaryrefslogtreecommitdiff
path: root/src/mesa/swrast/s_drawpix.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2002-12-18 15:02:19 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2002-12-18 15:02:19 +0000
commitc0fc0d4e5f5c246fc2459348a3d114b232d0c545 (patch)
tree7a3c86c99b5022af9b8fe31e0417851857eede05 /src/mesa/swrast/s_drawpix.c
parent866023da660d25c60ef4646a8273dd42fb23d27d (diff)
comment changes
Diffstat (limited to 'src/mesa/swrast/s_drawpix.c')
-rw-r--r--src/mesa/swrast/s_drawpix.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/swrast/s_drawpix.c b/src/mesa/swrast/s_drawpix.c
index b7ac3f7ade..479c9cf99f 100644
--- a/src/mesa/swrast/s_drawpix.c
+++ b/src/mesa/swrast/s_drawpix.c
@@ -1,4 +1,4 @@
-/* $Id: s_drawpix.c,v 1.41 2002/12/05 04:48:53 brianp Exp $ */
+/* $Id: s_drawpix.c,v 1.42 2002/12/18 15:02:19 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -191,8 +191,8 @@ fast_draw_pixels(GLcontext *ctx, GLint x, GLint y,
/* setup array of fragment Z value to pass to zoom function */
GLdepth z = (GLdepth) (ctx->Current.RasterPos[2] * ctx->DepthMaxF);
GLint i;
- if (drawWidth < MAX_WIDTH)
- return GL_FALSE; /* take the general path solution */
+ if (drawWidth > MAX_WIDTH)
+ return GL_FALSE; /* fall back to general case path */
for (i=0; i<drawWidth; i++)
zSpan[i] = z;