projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aeee7f2
)
svga: don't use debug code in update_state() in release builds
author
Brian Paul
<brianp@vmware.com>
Mon, 14 Dec 2015 16:32:48 +0000
(09:32 -0700)
committer
Brian Paul
<brianp@vmware.com>
Thu, 17 Dec 2015 02:38:15 +0000
(19:38 -0700)
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/drivers/svga/svga_state.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/svga/svga_state.c
b/src/gallium/drivers/svga/svga_state.c
index 722b369fd4b479979c0d9021321e89d0d3da2590..4479a271262cbdf0b30860a9449dcebb26e3ef61 100644
(file)
--- 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;