mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 08:34:40 +00:00
Merge pull request #529 from Azaezel/alpha40/splashscreenNixFix
get the splash screen on linux to stop corrupting the main window
This commit is contained in:
commit
0be2086e0f
1 changed files with 7 additions and 0 deletions
|
|
@ -96,6 +96,13 @@ bool Platform::displaySplashWindow( String path )
|
||||||
SDL_RenderCopy(gSplashRenderer, gSplashTexture, NULL, NULL);
|
SDL_RenderCopy(gSplashRenderer, gSplashTexture, NULL, NULL);
|
||||||
|
|
||||||
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