diff options
author | Aapo Tahkola <aet@rasterburn.org> | 2005-02-24 13:59:56 +0000 |
---|---|---|
committer | Aapo Tahkola <aet@rasterburn.org> | 2005-02-24 13:59:56 +0000 |
commit | ac8020ea9cad98471f0cb6529982d585b3e0b03d (patch) | |
tree | 4837dc7b79fbf2655b6f9810685ece0c4aebed2b /src/mesa/drivers/dri/r300/r300_maos.c | |
parent | 2c6f911e10761c0946261d494bf149b19072821d (diff) |
Another nasty struct size bug found.
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_maos.c')
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_maos.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_maos.c b/src/mesa/drivers/dri/r300/r300_maos.c index ca945956b8..4fd3dc6eb7 100644 --- a/src/mesa/drivers/dri/r300/r300_maos.c +++ b/src/mesa/drivers/dri/r300/r300_maos.c @@ -310,6 +310,7 @@ void r300EmitArrays(GLcontext * ctx, GLboolean immd) vic_1 |= R300_INPUT_CNTL_POS; } + //DUMP_DMA(rmesa); if (inputs & _TNL_BIT_NORMAL) { CONFIGURE_AOS(i_normal, AOS_FORMAT_FLOAT, @@ -321,7 +322,7 @@ void r300EmitArrays(GLcontext * ctx, GLboolean immd) } if (inputs & _TNL_BIT_COLOR0) { - int emitsize; + int emitsize=4; if (!immd) { if (VB->ColorPtr[0]->size == 4 && |