Fix copy'n'pasteo that broke display lists.
authorEric Anholt <eric@anholt.net>
Thu, 5 Jul 2007 20:56:38 +0000 (13:56 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 5 Jul 2007 20:56:38 +0000 (13:56 -0700)
src/mesa/drivers/dri/i915tex/intel_buffer_objects.c

index 1b95bfd47a2f05980cec02267aee271c5f8871b9..3c73c402d962636c55f02fb91720c070fafc328d 100644 (file)
@@ -185,7 +185,7 @@ intel_bufferobj_get_subdata(GLcontext * ctx,
    struct intel_buffer_object *intel_obj = intel_buffer_object(obj);
 
    assert(intel_obj);
-   dri_bo_subdata(intel_obj->buffer, offset, size, data);
+   dri_bo_get_subdata(intel_obj->buffer, offset, size, data);
 }