summaryrefslogtreecommitdiff
path: root/src/video
diff options
context:
space:
mode:
authorMichael Lutz <michi@icosahedron.de>2021-02-06 20:09:12 +0100
committerMichael Lutz <michi@icosahedron.de>2021-02-13 22:21:17 +0100
commit23389e949169ee65ca2b53cb09c11f6d4ce2bd67 (patch)
tree62f027ce879cd7165247bf223cf7c3519a48b659 /src/video
parent063b90b97db14e19a339a3970eb33c6ba6e6d37f (diff)
downloadopenttd-23389e949169ee65ca2b53cb09c11f6d4ce2bd67.tar.xz
Remove: [OSX] Startup splash screen.
It wasn't displayed anyway as it was never copied to the bundle.
Diffstat (limited to 'src/video')
-rw-r--r--src/video/cocoa/event.mm19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/video/cocoa/event.mm b/src/video/cocoa/event.mm
index 17d4c437d..c7ab70538 100644
--- a/src/video/cocoa/event.mm
+++ b/src/video/cocoa/event.mm
@@ -23,7 +23,6 @@
#include "../../openttd.h"
#include "../../debug.h"
-#include "../../os/macosx/splash.h"
#include "../../settings_type.h"
#include "../../core/geometry_type.hpp"
#include "cocoa_v.h"
@@ -93,24 +92,6 @@ void VideoDriver_Cocoa::GameLoop()
uint32 st = 0;
#endif
- DisplaySplashImage();
- this->CheckPaletteAnim();
- this->Draw(true);
- CSleep(1);
-
- for (int i = 0; i < 2; i++) ::GameLoop();
-
- UpdateWindows();
- this->CheckPaletteAnim();
- this->Draw();
- CSleep(1);
-
- /* Set the proper OpenTTD palette which got spoilt by the splash
- * image when using 8bpp blitter */
- GfxInitPalettes();
- this->CheckPaletteAnim();
- this->Draw(true);
-
for (;;) {
@autoreleasepool {