-/* $Id: drawpix.c,v 1.31 2000/08/30 18:22:28 brianp Exp $ */
+/* $Id: drawpix.c,v 1.32 2000/09/06 17:44:52 brianp Exp $ */
/*
* Mesa 3-D graphics library
GLint skipRows = unpack->SkipRows;
GLint rowLength;
GLdepth zSpan[MAX_WIDTH]; /* only used when zooming */
- GLint zoomY0;
+ GLint zoomY0 = 0;
if (unpack->RowLength > 0)
rowLength = unpack->RowLength;
drawHeight -= (destY + drawHeight - ctx->DrawBuffer->Ymax - 1);
if (drawHeight <= 0)
return GL_TRUE;
-
- zoomY0 = 0; /* not used - silence compiler warning */
}
else if (ctx->Pixel.ZoomX==1.0F && ctx->Pixel.ZoomY==-1.0F) {
/* upside-down image */