mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-29 07:22:07 +00:00
- removed MarkACSThinker.
The global variable holding a pointer to this thinker should be a weak reference to the instance in the thinker chain, there is no need to mark this global variable, as the thinker's lifetime is only determined by the thinker chain. - committed a few Posix related file the last commit missed.
This commit is contained in:
parent
dc5a5419fc
commit
929affa3cb
5 changed files with 0 additions and 12 deletions
|
@ -79,8 +79,6 @@
|
|||
#include "g_levellocals.h"
|
||||
#include "events.h"
|
||||
|
||||
void MarkACSThinker();
|
||||
|
||||
// MACROS ------------------------------------------------------------------
|
||||
|
||||
/*
|
||||
|
@ -331,7 +329,6 @@ static void MarkRoot()
|
|||
Mark(DIntermissionController::CurrentIntermission);
|
||||
DThinker::MarkRoots();
|
||||
FCanvasTextureInfo::Mark();
|
||||
MarkACSThinker();
|
||||
Mark(E_FirstEventHandler);
|
||||
Mark(E_LastEventHandler);
|
||||
for (auto &s : level.sectorPortals)
|
||||
|
|
|
@ -242,7 +242,6 @@ void PClass::StaticShutdown ()
|
|||
{
|
||||
if (WP_NOCHANGE != nullptr)
|
||||
{
|
||||
WP_NOCHANGE->ObjectFlags |= OF_YesReallyDelete;
|
||||
delete WP_NOCHANGE;
|
||||
}
|
||||
|
||||
|
|
|
@ -11022,11 +11022,6 @@ CCMD(acsprofile)
|
|||
ShowProfileData(FuncProfiles, limit, sorter, true);
|
||||
}
|
||||
|
||||
void MarkACSThinker()
|
||||
{
|
||||
GC::Mark(DACSThinker::ActiveThinker);
|
||||
}
|
||||
|
||||
ADD_STAT(ACS)
|
||||
{
|
||||
return FStringf("ACS time: %f ms", ACSTime.TimeMS());
|
||||
|
|
|
@ -632,7 +632,6 @@ DFrameBuffer* CocoaVideo::CreateFrameBuffer(const int width, const int height, c
|
|||
}
|
||||
|
||||
old->GetFlash(flashColor, flashAmount);
|
||||
old->ObjectFlags |= OF_YesReallyDelete;
|
||||
|
||||
if (old == screen)
|
||||
{
|
||||
|
@ -1306,7 +1305,6 @@ void I_ShutdownGraphics()
|
|||
{
|
||||
if (NULL != screen)
|
||||
{
|
||||
screen->ObjectFlags |= OF_YesReallyDelete;
|
||||
delete screen;
|
||||
screen = NULL;
|
||||
}
|
||||
|
|
|
@ -95,7 +95,6 @@ void I_ShutdownGraphics ()
|
|||
{
|
||||
DFrameBuffer *s = screen;
|
||||
screen = NULL;
|
||||
s->ObjectFlags |= OF_YesReallyDelete;
|
||||
delete s;
|
||||
}
|
||||
if (Video)
|
||||
|
|
Loading…
Reference in a new issue