#include "gx/gll/GLObject.h"
#include <bc/Debug.hpp>

void GLObject::AddRefTwin() {
}

uint32_t GLObject::Release() {
    BLIZZARD_ASSERT(this->m_RefCount > 0);

    this->m_RefCount--;

    if (this->m_RefCount == 0) {
        this->ReleaseObject();
    }

    this->ReleaseTwin();

    return this->m_RefCount;
}

void GLObject::ReleaseTwin() {
}
