summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2005-01-29 17:28:57 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2005-01-29 17:28:57 +0000
commite464fdab646fcbd7ed208a7c466f0e2eb53b5bff (patch)
treed6d490a0af9d2f751caed5c0018cb9c2cd538983
parent8cb8ce6f8b73f416fb7da0008d6a7826e7d2feef (diff)
remove stray span.y++
-rw-r--r--src/mesa/swrast/s_bitmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_bitmap.c b/src/mesa/swrast/s_bitmap.c
index 8bd9854f0c..1692ff06a3 100644
--- a/src/mesa/swrast/s_bitmap.c
+++ b/src/mesa/swrast/s_bitmap.c
@@ -91,7 +91,7 @@ _swrast_Bitmap( GLcontext *ctx, GLint px, GLint py,
if (ctx->Texture._EnabledCoordUnits)
_swrast_span_default_texcoords(ctx, &span);
- for (row = 0; row < height; row++, span.y++) {
+ for (row = 0; row < height; row++) {
const GLubyte *src = (const GLubyte *) _mesa_image_address( unpack,
bitmap, width, height, GL_COLOR_INDEX, GL_BITMAP, 0, row, 0 );