mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
get the splash screen on linux to stop corrupting the main window
This commit is contained in:
parent
9dd9e9fae5
commit
431fb05b6f
|
|
@ -96,6 +96,13 @@ bool Platform::displaySplashWindow( String path )
|
|||
SDL_RenderCopy(gSplashRenderer, gSplashTexture, NULL, NULL);
|
||||
|
||||
SDL_RenderPresent(gSplashRenderer);
|
||||
|
||||
SDL_DestroyTexture(gSplashTexture);
|
||||
gSplashTexture = nullptr;
|
||||
|
||||
SDL_DestroyRenderer(gSplashRenderer);
|
||||
gSplashRenderer = nullptr;
|
||||
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Reference in a new issue