summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_stencil.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2001-05-17 20:18:45 +0000
committerBrian Paul <[email protected]>2001-05-17 20:18:45 +0000
commit758a21f1043b52a8a2fa2397d3c963c0c40c268a (patch)
tree6f8d33e15dcff8decd3882eb34d02b770af33483 /src/mesa/swrast/s_stencil.c
parent1341f40dfede5324a56ae20651bf5daf2f872bf6 (diff)
fixed Width/Height typo (Jeff Hartmann)
Diffstat (limited to 'src/mesa/swrast/s_stencil.c')
-rw-r--r--src/mesa/swrast/s_stencil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/swrast/s_stencil.c b/src/mesa/swrast/s_stencil.c
index 2b7bb91f736..1a80cc1b430 100644
--- a/src/mesa/swrast/s_stencil.c
+++ b/src/mesa/swrast/s_stencil.c
@@ -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;