diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2004-12-20 12:52:21 +0000 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2004-12-20 12:52:21 +0000 |
commit | 14bc68499025127060e794781cf67fcf4bcf7ee2 (patch) | |
tree | c9797ff2f9b13dcb7e5f1300cc42beac4325f84b /src/mesa/drivers/dri/unichrome/via_context.h | |
parent | b51600716e0f9563dee2fe6990ade91a96d62801 (diff) |
Remove #ifdef DEBUG's in code, but still allow compiler to remove debug
code if DEBUG not defined.
Diffstat (limited to 'src/mesa/drivers/dri/unichrome/via_context.h')
-rw-r--r-- | src/mesa/drivers/dri/unichrome/via_context.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/unichrome/via_context.h b/src/mesa/drivers/dri/unichrome/via_context.h index d0a96581e4..54e86605d5 100644 --- a/src/mesa/drivers/dri/unichrome/via_context.h +++ b/src/mesa/drivers/dri/unichrome/via_context.h @@ -427,7 +427,13 @@ extern hash_element hash_table[HASH_TABLE_SIZE][HASH_TABLE_DEPTH]; } while (0) +#ifdef DEBUG extern GLuint VIA_DEBUG; +#else +#define VIA_DEBUG 0 +#endif + + extern GLuint DRAW_FRONT; extern void viaGetLock(viaContextPtr vmesa, GLuint flags); extern void viaLock(viaContextPtr vmesa, GLuint flags); |