diff options
author | Patric Stout <truebrain@openttd.org> | 2021-02-24 14:52:04 +0100 |
---|---|---|
committer | Patric Stout <github@truebrain.nl> | 2021-02-24 21:58:47 +0100 |
commit | 6a8c461e38360d14fc36d77a63150a07c6e64ff9 (patch) | |
tree | a51915173ae7572057b9a4db47c87330fb4ab883 /src/video/cocoa/cocoa_v.mm | |
parent | 67d3c6aa7186fe54725d06cc246a95dc62a4bbfb (diff) | |
download | openttd-6a8c461e38360d14fc36d77a63150a07c6e64ff9.tar.xz |
Codechange: [OSX] GameLoop is really more like MainLoop
MainLoop() is used to bootstrap OSX, where later a callback is
done to GameLoop() to execute OpenTTD. All other video drivers
don't need that, so what is in GameLoop is in MainLoop for all
other drivers. This is rather confusing. So, instead, name
GameLoop MainLoopReal to be more in sync with the other drivers.
Diffstat (limited to 'src/video/cocoa/cocoa_v.mm')
-rw-r--r-- | src/video/cocoa/cocoa_v.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video/cocoa/cocoa_v.mm b/src/video/cocoa/cocoa_v.mm index b5ed5329e..dd49cd211 100644 --- a/src/video/cocoa/cocoa_v.mm +++ b/src/video/cocoa/cocoa_v.mm @@ -433,7 +433,7 @@ void VideoDriver_Cocoa::InputLoop() } /** Main game loop. */ -void VideoDriver_Cocoa::GameLoop() +void VideoDriver_Cocoa::MainLoopReal() { for (;;) { @autoreleasepool { |