summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver McFadden <[email protected]>2007-05-11 23:33:47 +0000
committerOliver McFadden <[email protected]>2007-05-11 23:33:47 +0000
commit3aad47679e14cf55b07fba5293b102d7ee6abc27 (patch)
treebfa0567b71236d05e54ccb18fc10cf66fedf39d9
parentdac5303692726582d2fac2d9e9b620e3105ff8c3 (diff)
r300: Removed the unused CPT macro.
-rw-r--r--src/mesa/drivers/dri/r300/r300_context.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_context.h b/src/mesa/drivers/dri/r300/r300_context.h
index 2408497c483..5e81ffaad3f 100644
--- a/src/mesa/drivers/dri/r300/r300_context.h
+++ b/src/mesa/drivers/dri/r300/r300_context.h
@@ -63,13 +63,10 @@ typedef struct r300_context *r300ContextPtr;
#include "radeon_lock.h"
#include "mm.h"
-/* Checkpoint.. for convenience */
-#define CPT { fprintf(stderr, "%s:%s line %d\n", __FILE__, __FUNCTION__, __LINE__); }
/* From http://gcc.gnu.org/onlinedocs/gcc-3.2.3/gcc/Variadic-Macros.html .
I suppose we could inline this and use macro to fetch out __LINE__ and stuff in case we run into trouble
with other compilers ... GLUE!
*/
-#if 1
#define WARN_ONCE(a, ...) { \
static int warn##__LINE__=1; \
if(warn##__LINE__){ \
@@ -81,9 +78,6 @@ typedef struct r300_context *r300ContextPtr;
warn##__LINE__=0;\
} \
}
-#else
-#define WARN_ONCE(a, ...) {}
-#endif
#include "r300_vertprog.h"
#include "r300_fragprog.h"