summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/r300_context.h
diff options
context:
space:
mode:
authorAapo Tahkola <aet@rasterburn.org>2005-02-19 02:25:53 +0000
committerAapo Tahkola <aet@rasterburn.org>2005-02-19 02:25:53 +0000
commit42896b2a18a89c74a2f95e491bed0b7352bef0aa (patch)
treebb40fef885acfd0c9676ee10f8719bc23b3f6c08 /src/mesa/drivers/dri/r300/r300_context.h
parent10b892af96afa4fd8493810f5cf84a97c2e4adaa (diff)
Fix for buffer overrun caused by ALLOC_STATE not having args surrounded by parenthesis. Can you see it? HINT: Anything texture related should now work slightly better. And yes it took me several hours to find it.
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_context.h')
-rw-r--r--src/mesa/drivers/dri/r300/r300_context.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_context.h b/src/mesa/drivers/dri/r300/r300_context.h
index 48822d326c..18dc9d1910 100644
--- a/src/mesa/drivers/dri/r300/r300_context.h
+++ b/src/mesa/drivers/dri/r300/r300_context.h
@@ -414,7 +414,6 @@ struct r300_hw_state {
#ifdef EXP_C
struct r300_state_atom lsf; /* line stipple factor */
#endif
- struct r300_state_atom dummy[4];
struct r300_state_atom unk4260; /* (4260) */
struct r300_state_atom unk4274; /* (4274) */
struct r300_state_atom unk4288; /* (4288) */
@@ -456,7 +455,6 @@ struct r300_hw_state {
struct r300_state_atom vpi; /* vp instructions */
struct r300_state_atom vpp; /* vp parameters */
struct r300_state_atom vps; /* vertex point size (?) */
-
/* 8 texture units */
/* the state is grouped by function and not by
texture unit. This makes single unit updates