fixed Width/Height typo (Jeff Hartmann)
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 17 May 2001 20:18:45 +0000 (20:18 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 17 May 2001 20:18:45 +0000 (20:18 +0000)
src/mesa/swrast/s_stencil.c

index 2b7bb91f73664a4e062cd04f39346186115a0b99..1a80cc1b43013a390a75f295bd1a291206d153fc 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: s_stencil.c,v 1.11 2001/03/19 02:25:36 keithw Exp $ */
+/* $Id: s_stencil.c,v 1.12 2001/05/17 20:18:45 brianp Exp $ */
 
 /*
  * Mesa 3-D graphics library
@@ -1276,7 +1276,7 @@ clear_hardware_stencil_buffer( GLcontext *ctx )
       else {
          /* clear whole buffer without masking */
          const GLint width = ctx->DrawBuffer->Width;
-         const GLint height = ctx->DrawBuffer->Width;
+         const GLint height = ctx->DrawBuffer->Height;
          const GLint x = ctx->DrawBuffer->_Xmin;
          GLstencil stencil[MAX_WIDTH];
          GLint y, i;