fix GL_LINE_LOOP with drivers using own render pipeline stage (#12410, #13527)
[mesa.git] / src / mesa / drivers / dri / mga / mgatris.h
index a8c0b8936b7392d9f3f63942580d0fae082868a4..f3ece3a053bdf51689b59b20edbd946c0572b600 100644 (file)
@@ -38,11 +38,15 @@ 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_LINE_STIPPLE |           \
-                              _DD_NEW_TRI_UNFILLED |           \
-                              _DD_NEW_TRI_LIGHT_TWOSIDE |      \
-                              _DD_NEW_TRI_OFFSET |             \
-                              _DD_NEW_TRI_STIPPLE |            \
-                              _NEW_POLYGONSTIPPLE)
+#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