• Michal Krol's avatar
    mesa: Enable true refcounting for NullBufferObj. · 01d7e3d5
    Michal Krol authored
    This object can be shared with another context, so we cannot just
    delete it when the owning context is being destroyed.
    Ensuring that buffer objects are properly refcounted guarantees
    NullBufferObj is destroyed when all references to it are removed.
bufferobj.c 48.9 KB