mesa: remove Driver.DeleteArrayObject

Nothing reimplements it.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
Marek Olšák
2015-09-27 21:28:22 +02:00
parent 7401807e8d
commit d1269a844f
4 changed files with 2 additions and 9 deletions

View File

@@ -202,10 +202,8 @@ _mesa_reference_vao_(struct gl_context *ctx,
deleteFlag = (oldObj->RefCount == 0);
mtx_unlock(&oldObj->Mutex);
if (deleteFlag) {
assert(ctx->Driver.DeleteArrayObject);
ctx->Driver.DeleteArrayObject(ctx, oldObj);
}
if (deleteFlag)
_mesa_delete_vao(ctx, oldObj);
*ptr = NULL;
}