mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2026-02-05 01:29:07 +00:00
chore: initial commit
This commit is contained in:
commit
70b00c5c38
965 changed files with 264882 additions and 0 deletions
22
src/gx/gll/GLObject.cpp
Normal file
22
src/gx/gll/GLObject.cpp
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
#include "gx/gll/GLObject.h"
|
||||
#include "util/BlizzardCore.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() {
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue