summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i965/brw_draw.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/i965/brw_draw.h')
-rw-r--r--src/gallium/drivers/i965/brw_draw.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/gallium/drivers/i965/brw_draw.h b/src/gallium/drivers/i965/brw_draw.h
index 2a14db217fc..dc7ca8731df 100644
--- a/src/gallium/drivers/i965/brw_draw.h
+++ b/src/gallium/drivers/i965/brw_draw.h
@@ -28,13 +28,12 @@
#ifndef BRW_DRAW_H
#define BRW_DRAW_H
-#include "main/mtypes.h" /* for GLcontext... */
-#include "vbo/vbo.h"
+#include "brw_types.h"
struct brw_context;
-void brw_draw_prims( GLcontext *ctx,
+void brw_draw_prims( struct brw_context *brw,
const struct gl_client_array *arrays[],
const struct _mesa_prim *prims,
GLuint nr_prims,
@@ -48,7 +47,7 @@ void brw_draw_destroy( struct brw_context *brw );
/* brw_draw_current.c
*/
-void brw_init_current_values(GLcontext *ctx,
+void brw_init_current_values(struct brw_context *brw,
struct gl_client_array *arrays);
#endif