[Mesa-dev] [PATCH 02/16] main: Add MESA_VERBOSE=api support for glClearStencil

Jordan Justen jordan.l.justen at intel.com
Wed Aug 24 23:54:54 UTC 2016


Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
---
 src/mesa/main/stencil.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/mesa/main/stencil.c b/src/mesa/main/stencil.c
index 409b2f0..b303bb7 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;
 }
 
-- 
2.8.0.rc3



More information about the mesa-dev mailing list