diff --git a/src/mesa/main/stencil.c b/src/mesa/main/stencil.c index 409b2f0d58c..b303bb7c13f 100644 --- a/src/mesa/main/stencil.c +++ b/src/mesa/main/stencil.c @@ -109,6 +109,9 @@ _mesa_ClearStencil( GLint s ) { GET_CURRENT_CONTEXT(ctx); + if (MESA_VERBOSE & VERBOSE_API) + _mesa_debug(ctx, "glClearStencil(%d)\n", s); + ctx->Stencil.Clear = (GLuint) s; }