summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>1999-11-18 15:44:37 +0000
committerBrian Paul <[email protected]>1999-11-18 15:44:37 +0000
commit4b7526d001ee739ce4287e9110c9d6cd97738ba4 (patch)
treebaf984d6f08046f6d638fe31dda51d3dc5a721cf /src/mesa
parentd0247f53aea8fa8677aadc8a00f75c8993be9ebc (diff)
silence an uninitialized var warning
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/drawpix.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/main/drawpix.c b/src/mesa/main/drawpix.c
index 103855f7fa8..4166596ed65 100644
--- a/src/mesa/main/drawpix.c
+++ b/src/mesa/main/drawpix.c
@@ -1,4 +1,4 @@
-/* $Id: drawpix.c,v 1.6 1999/11/11 01:22:26 brianp Exp $ */
+/* $Id: drawpix.c,v 1.7 1999/11/18 15:44:37 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -129,6 +129,8 @@ simple_DrawPixels( GLcontext *ctx, GLint x, GLint y,
drawHeight -= (destY + drawHeight - ctx->Buffer->Ymax - 1);
if (drawHeight <= 0)
return GL_TRUE;
+
+ zoomY0 = 0; /* not used - silence compiler warning */
}
else {
/* setup array of fragment Z value to pass to zoom function */