Home | Info | Community | Development | myReactOS | Contact Us
[static]
If *ptr points to obj, set ptr = the Null/default buffer object. This is a helper for buffer object deletion. The GL spec says that deleting a buffer object causes it to get unbound from all arrays in the current context.
Definition at line 744 of file bufferobj.c.
Referenced by _mesa_DeleteBuffersARB().
{ if (*ptr == obj) { _mesa_reference_buffer_object(ctx, ptr, ctx->Array.NullBufferObj); } }