Add canvastexture definition to animdefs.
Split canvas texture rendering from camera texture rendering.
This commit is contained in:
parent
aa083604e1
commit
bb503950df
15 changed files with 111 additions and 54 deletions
|
|
@ -2926,6 +2926,7 @@ static void Doom_CastSpriteIDToString(FString* a, unsigned int b)
|
|||
|
||||
|
||||
extern DThinker* NextToThink;
|
||||
extern TArray<FCanvas*> AllCanvases;
|
||||
|
||||
static void GC_MarkGameRoots()
|
||||
{
|
||||
|
|
@ -2933,6 +2934,8 @@ static void GC_MarkGameRoots()
|
|||
GC::Mark(staticEventManager.LastEventHandler);
|
||||
for (auto Level : AllLevels())
|
||||
Level->Mark();
|
||||
for (auto canvas : AllCanvases)
|
||||
GC::Mark(canvas);
|
||||
|
||||
// Mark players.
|
||||
for (int i = 0; i < MAXPLAYERS; i++)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue