fix up radeon span functions using latest r200 code from Brian,
[mesa.git] / src / mesa / drivers / dri / mga / mgatris.h
index 88eda91e13b9c63f15feb9771fc80849cc75ac60..f3ece3a053bdf51689b59b20edbd946c0572b600 100644 (file)
 #include "mtypes.h"
 
 extern void mgaDDInitTriFuncs( GLcontext *ctx );
-
+extern void mgaChooseRenderState( GLcontext *ctx );
 extern void mgaRasterPrimitive( GLcontext *ctx, GLenum prim, GLuint hwprim );
 
 extern void mgaFallback( GLcontext *ctx, GLuint bit, GLboolean mode );
 #define FALLBACK( ctx, bit, mode ) mgaFallback( ctx, bit, mode )
 
-
+#define _MGA_NEW_RENDERSTATE (_DD_NEW_POINT_SMOOTH |           \
+                             _DD_NEW_LINE_SMOOTH |             \
+                             _DD_NEW_LINE_STIPPLE |            \
+                             _DD_NEW_TRI_SMOOTH |              \
+                             _DD_NEW_FLATSHADE |               \
+                             _DD_NEW_TRI_LIGHT_TWOSIDE |       \
+                             _DD_NEW_TRI_OFFSET |              \
+                             _DD_NEW_TRI_UNFILLED |            \
+                             _DD_NEW_TRI_STIPPLE |             \
+                             _NEW_POLYGONSTIPPLE)
 
 #endif