intel: fix incorrect parameter type for intel_bufferobj_map_range()
authorBrian Paul <brianp@vmware.com>
Tue, 1 Sep 2009 18:39:30 +0000 (12:39 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 1 Sep 2009 23:39:31 +0000 (17:39 -0600)
src/mesa/drivers/dri/intel/intel_buffer_objects.c

index a3aabe9f37f2ad49ea16d4979e85a886c895d04f..920da1f4e075d2979918e57b47ffb73c48e9814b 100644 (file)
@@ -291,7 +291,7 @@ intel_bufferobj_map(GLcontext * ctx,
  */
 static void *
 intel_bufferobj_map_range(GLcontext * ctx,
-                         GLenum target, GLsizei offset, GLsizeiptr length,
+                         GLenum target, GLintptr offset, GLsizeiptr length,
                          GLbitfield access, struct gl_buffer_object *obj)
 {
    struct intel_context *intel = intel_context(ctx);