diff options
author | Jordan Justen <[email protected]> | 2016-06-11 16:23:44 -0700 |
---|---|---|
committer | Jordan Justen <[email protected]> | 2016-08-26 10:09:22 -0700 |
commit | 861c9cbee3d741ea332a9ceee8ae64db49f114c2 (patch) | |
tree | a35af6ea95ac67359e2ecaa1cb2f196327e036fd /src/mesa | |
parent | 9a1f950bef862776cb81255b442be0a7e64cb5dd (diff) |
main: Add MESA_VERBOSE=api support for glClearStencil
Signed-off-by: Jordan Justen <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/main/stencil.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; } |