radeon/r200/r300: don't clean non-emitted state.
[mesa.git] / src / mesa / drivers / dri / radeon / radeon_context.h
index 4e2c52c835cdcebd44378cb23874572fad4ec32a..d84760bf74fce146032a120e75dda70b75a82a9a 100644 (file)
@@ -331,8 +331,12 @@ struct r100_hw_state {
        struct radeon_state_atom stp;
 };
 
+struct radeon_stipple_state {
+       GLuint mask[32];
+};
 
 struct r100_state {
+       struct radeon_stipple_state stipple;
        struct radeon_texture_state texture;
 };
 
@@ -447,9 +451,8 @@ struct r100_context {
 #define RADEON_OLD_PACKETS 1
 
 extern GLboolean r100CreateContext( const __GLcontextModes *glVisual,
-                                   __DRIcontextPrivate *driContextPriv,
+                                   __DRIcontext *driContextPriv,
                                    void *sharedContextPrivate);
-  
 
 
 #endif                         /* __RADEON_CONTEXT_H__ */