diff options
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_context.h')
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_context.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_context.h b/src/mesa/drivers/dri/r300/r300_context.h index 57a258487e4..8c8a8bfc71e 100644 --- a/src/mesa/drivers/dri/r300/r300_context.h +++ b/src/mesa/drivers/dri/r300/r300_context.h @@ -54,6 +54,15 @@ 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__); } +#define WARN_ONCE(a) { \ + static int warn=1; \ + if(warn){ \ + fprintf(stderr, (a)); \ + warn=0;\ + } \ + } typedef GLuint uint32_t; typedef GLubyte uint8_t; |