-/* $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
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;