diff options
author | Aapo Tahkola <aet@rasterburn.org> | 2005-02-22 05:16:42 +0000 |
---|---|---|
committer | Aapo Tahkola <aet@rasterburn.org> | 2005-02-22 05:16:42 +0000 |
commit | 3c69df8a70efee6ae89615f28d25aac2323275ab (patch) | |
tree | 87ccba1243558febdb3b7fe95f11329f4d1aec18 /src/mesa/drivers/dri/r300/r300_context.h | |
parent | e00b72971629e41d5ac0e85391a466655c790d66 (diff) |
New elt buffer code should be fairly stable.
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_context.h')
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_context.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_context.h b/src/mesa/drivers/dri/r300/r300_context.h index f4911fd311..c7e1b8edca 100644 --- a/src/mesa/drivers/dri/r300/r300_context.h +++ b/src/mesa/drivers/dri/r300/r300_context.h @@ -60,6 +60,7 @@ typedef struct r300_context *r300ContextPtr; 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__){ \ @@ -71,6 +72,9 @@ typedef struct r300_context *r300ContextPtr; warn##__LINE__=0;\ } \ } +#else +#define WARN_ONCE(a, ...) {} +#endif typedef GLuint uint32_t; typedef GLubyte uint8_t; @@ -663,7 +667,7 @@ struct r300_state { int aos_count; GLuint *Elts; - struct r300_dma_region elt_ao; + struct r300_dma_region elt_dma; GLuint render_inputs; /* actual render inputs that R300 was configured for. They are the same as tnl->render_inputs for fixed pipeline */ |