[Mesa-dev] [PATCH 1/5] i915: remove occurances of _DD_NEW_x flags
Brian Paul
brianp at vmware.com
Tue Nov 22 17:07:00 PST 2011
Just use the corresponding _NEW_x flags intead. The _DD_NEW_x flags
will be removed in a following patch.
---
src/mesa/drivers/dri/i915/intel_tris.h | 12 +++++-------
1 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/src/mesa/drivers/dri/i915/intel_tris.h b/src/mesa/drivers/dri/i915/intel_tris.h
index ad84de8..8f45367 100644
--- a/src/mesa/drivers/dri/i915/intel_tris.h
+++ b/src/mesa/drivers/dri/i915/intel_tris.h
@@ -34,13 +34,11 @@
/** 3 dwords of state_immediate and 2 of 3dprim, in intel_flush_prim */
#define INTEL_PRIM_EMIT_SIZE (5 * 4)
-#define _INTEL_NEW_RENDERSTATE (_DD_NEW_LINE_STIPPLE | \
- _DD_NEW_TRI_UNFILLED | \
- _DD_NEW_TRI_LIGHT_TWOSIDE | \
- _DD_NEW_TRI_OFFSET | \
- _DD_NEW_TRI_STIPPLE | \
- _NEW_PROGRAM | \
- _NEW_POLYGONSTIPPLE)
+#define _INTEL_NEW_RENDERSTATE (_NEW_LINE | \
+ _NEW_POLYGON | \
+ _NEW_LIGHT | \
+ _NEW_PROGRAM | \
+ _NEW_POLYGONSTIPPLE)
extern void intelInitTriFuncs(struct gl_context * ctx);
--
1.7.3.4
More information about the mesa-dev
mailing list