mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-16 00:54:54 +00:00
missed define
This commit is contained in:
parent
564d48e95f
commit
f2292a6a1f
2 changed files with 7 additions and 1 deletions
|
|
@ -142,7 +142,7 @@ private:
|
||||||
};
|
};
|
||||||
|
|
||||||
// uncomment to debug tests and use the test explorer.
|
// uncomment to debug tests and use the test explorer.
|
||||||
#define TEST_EXPLORER
|
//#define TEST_EXPLORER
|
||||||
#if !defined(TEST_EXPLORER)
|
#if !defined(TEST_EXPLORER)
|
||||||
int main(int argc, char** argv)
|
int main(int argc, char** argv)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -97,6 +97,12 @@ bool Platform::displaySplashWindow( String path )
|
||||||
|
|
||||||
SDL_RenderPresent(gSplashRenderer);
|
SDL_RenderPresent(gSplashRenderer);
|
||||||
|
|
||||||
|
SDL_DestroyTexture(gSplashTexture);
|
||||||
|
gSplashTexture = nullptr;
|
||||||
|
|
||||||
|
SDL_DestroyRenderer(gSplashRenderer);
|
||||||
|
gSplashRenderer = nullptr;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue