From c0fc0d4e5f5c246fc2459348a3d114b232d0c545 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 18 Dec 2002 15:02:19 +0000 Subject: comment changes --- src/mesa/swrast/s_drawpix.c | 6 +++--- src/mesa/swrast/s_triangle.c | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src') 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; iMagFilter : (GLenum) 0; envMode = ctx->Texture.Unit[0].EnvMode; - /* First see if we can used an optimized 2-D texture function */ + /* First see if we can use an optimized 2-D texture function */ if (ctx->Texture._EnabledUnits == 1 && ctx->Texture.Unit[0]._ReallyEnabled == TEXTURE_2D_BIT && texObj2D->WrapS==GL_REPEAT -- cgit v1.2.3