summaryrefslogtreecommitdiff
path: root/src/sna/gen7_render.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-07-09 11:09:16 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2012-07-09 11:41:17 +0100
commitb11bc37684181390fc1400afb44054785104ca15 (patch)
treeaa6847b9ba6ebc3baa280161372114804bbfc146 /src/sna/gen7_render.c
parent21798a88676e91049917fafd3196dd4374b94226 (diff)
sna: Simplify the DBG incarnation
It was only ever used in conjunction with HAS_DEBUG_FULL. For debug purposes it is as easy to redefine DBG locally. By simplifying the DBG macro we can create it consistently and so reduce the number of compiler warnings. Long term, this has to be dynamic. Sigh. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/gen7_render.c')
-rw-r--r--src/sna/gen7_render.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/sna/gen7_render.c b/src/sna/gen7_render.c
index f9b2e9e5..afb4b9b9 100644
--- a/src/sna/gen7_render.c
+++ b/src/sna/gen7_render.c
@@ -42,11 +42,6 @@
#include "gen7_render.h"
-#if DEBUG_RENDER
-#undef DBG
-#define DBG(x) ErrorF x
-#endif
-
#define NO_COMPOSITE 0
#define NO_COMPOSITE_SPANS 0
#define NO_COPY 0