From 861c9cbee3d741ea332a9ceee8ae64db49f114c2 Mon Sep 17 00:00:00 2001 From: Jordan Justen Date: Sat, 11 Jun 2016 16:23:44 -0700 Subject: main: Add MESA_VERBOSE=api support for glClearStencil Signed-off-by: Jordan Justen Reviewed-by: Ian Romanick --- src/mesa/main/stencil.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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; } -- cgit v1.2.3