thunderbrew/src/gx/glsdl/GLObject.cpp

23 lines
353 B
C++
Raw Normal View History

#include "gx/glsdl/GLObject.hpp"
#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() {
}