mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 04:48:08 +02:00
svga: don't use debug code in update_state() in release builds
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
This commit is contained in:
parent
aeee7f2a4d
commit
c2c0983215
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue