- backend update from GZDoom

* GLES backend fixes.
* font colorization fixes.
* option menu spacing fix
This commit is contained in:
Christoph Oelckers 2021-10-07 22:41:14 +02:00
parent 49e0c461c2
commit 2348dd8848
15 changed files with 106 additions and 45 deletions

View file

@ -229,6 +229,7 @@ DObject::DObject ()
ObjNext = GC::Root;
GCNext = nullptr;
GC::Root = this;
GC::AllocCount++;
}
DObject::DObject (PClass *inClass)
@ -238,6 +239,7 @@ DObject::DObject (PClass *inClass)
ObjNext = GC::Root;
GCNext = nullptr;
GC::Root = this;
GC::AllocCount++;
}
//==========================================================================
@ -275,6 +277,7 @@ DObject::~DObject ()
void DObject::Release()
{
if (GC::AllocCount > 0) GC::AllocCount--;
DObject **probe;
// Unlink this object from the GC list.