mesa: add const qualifier to _mesa_is_legal_format_and_type()
[mesa.git] / src / mesa / vbo / vbo_split_inplace.c
index 2fc866c577306fc77797a3713b8fa2b858e48a61..789cf31364be92ca579a8ac9daf0a5bc9c21c85d 100644 (file)
@@ -41,7 +41,7 @@
  * that.
  */
 struct split_context {
-   GLcontext *ctx;
+   struct gl_context *ctx;
    const struct gl_client_array **array;
    const struct _mesa_prim *prim;
    GLuint nr_prims;
@@ -249,7 +249,7 @@ static void split_prims( struct split_context *split)
 }
 
 
-void vbo_split_inplace( GLcontext *ctx,
+void vbo_split_inplace( struct gl_context *ctx,
                        const struct gl_client_array *arrays[],
                        const struct _mesa_prim *prim,
                        GLuint nr_prims,