mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 08:12:44 +03:00
23 lines
349 B
C++
23 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() {
|
|
}
|