diff options
Diffstat (limited to 'xc/extras/Mesa/src/stencil.c')
-rw-r--r-- | xc/extras/Mesa/src/stencil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xc/extras/Mesa/src/stencil.c b/xc/extras/Mesa/src/stencil.c index 77755c313..24080e3c3 100644 --- a/xc/extras/Mesa/src/stencil.c +++ b/xc/extras/Mesa/src/stencil.c @@ -1390,7 +1390,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; |