mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2026-02-05 01:29:07 +00:00
22 lines
349 B
C++
22 lines
349 B
C++
#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() {
|
|
}
|