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.h | |
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.h')
-rw-r--r-- | src/video/cocoa/cocoa_v.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video/cocoa/cocoa_v.h b/src/video/cocoa/cocoa_v.h index d95d7bf98..a32c7065d 100644 --- a/src/video/cocoa/cocoa_v.h +++ b/src/video/cocoa/cocoa_v.h @@ -49,7 +49,7 @@ public: /* --- The following methods should be private, but can't be due to Obj-C limitations. --- */ - void GameLoop(); + void MainLoopReal(); virtual void AllocateBackingStore(bool force = false) = 0; |