Module: Mesa Branch: master Commit: c2c0983215033524f23779d9deb25da6e5ebc733 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c2c0983215033524f23779d9deb25da6e5ebc733
Author: Brian Paul <[email protected]> Date: Mon Dec 14 09:32:48 2015 -0700 svga: don't use debug code in update_state() in release builds Reviewed-by: Jose Fonseca <[email protected]> --- src/gallium/drivers/svga/svga_state.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gallium/drivers/svga/svga_state.c b/src/gallium/drivers/svga/svga_state.c index 722b369..4479a27 100644 --- a/src/gallium/drivers/svga/svga_state.c +++ b/src/gallium/drivers/svga/svga_state.c @@ -129,7 +129,11 @@ update_state(struct svga_context *svga, const struct svga_tracked_state *atoms[], unsigned *state) { +#ifdef DEBUG boolean debug = TRUE; +#else + boolean debug = FALSE; +#endif enum pipe_error ret = PIPE_OK; unsigned i; _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
