|
@@ -97,6 +97,12 @@ bool Platform::displaySplashWindow( String path )
|
|
|
|
|
|
SDL_RenderPresent(gSplashRenderer);
|
|
|
|
|
|
+ SDL_DestroyTexture(gSplashTexture);
|
|
|
+ gSplashTexture = nullptr;
|
|
|
+
|
|
|
+ SDL_DestroyRenderer(gSplashRenderer);
|
|
|
+ gSplashRenderer = nullptr;
|
|
|
+
|
|
|
}
|
|
|
|
|
|
return true;
|