i965: switch gen6 to use its own cc state bo
[mesa.git] / src / mesa / main / pixelstore.c
index ec585ef0ccefb560d4fac4e3f09afbcccb70a2f9..9d78eec7fead4ff1f6b2c0fecf3a322b7052f4d9 100644 (file)
@@ -32,6 +32,7 @@
 #include "bufferobj.h"
 #include "context.h"
 #include "pixelstore.h"
+#include "mfeatures.h"
 #include "mtypes.h"
 
 
@@ -228,7 +229,7 @@ _mesa_PixelStoref( GLenum pname, GLfloat param )
  * Initialize the context's pixel store state.
  */
 void
-_mesa_init_pixelstore( GLcontext *ctx )
+_mesa_init_pixelstore( struct gl_context *ctx )
 {
    /* Pixel transfer */
    ctx->Pack.Alignment = 4;