summaryrefslogtreecommitdiff
path: root/src/os/unix
diff options
context:
space:
mode:
authorMichael Lutz <michi@icosahedron.de>2020-12-26 16:07:47 +0100
committerMichael Lutz <michi@icosahedron.de>2021-01-03 13:25:32 +0100
commit9ccef816f90e9a7e3042cd89141ba3c0956d7bb9 (patch)
tree906ca656f585147070658dc14211b31c0689a83e /src/os/unix
parentab7da117e066983d076f540b9722e1b79cf01d98 (diff)
downloadopenttd-9ccef816f90e9a7e3042cd89141ba3c0956d7bb9.tar.xz
Codechange: [OSX] Re-arrange the OSX video driver code by combining all drawing code and moving the window/event handling to a different file.
This is just a code move/rename, not a functionality change.
Diffstat (limited to 'src/os/unix')
-rw-r--r--src/os/unix/unix.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/os/unix/unix.cpp b/src/os/unix/unix.cpp
index 2bcd6151a..4b94539b0 100644
--- a/src/os/unix/unix.cpp
+++ b/src/os/unix/unix.cpp
@@ -235,8 +235,8 @@ void ShowOSErrorBox(const char *buf, bool system)
#endif
#ifdef WITH_COCOA
-void cocoaSetupAutoreleasePool();
-void cocoaReleaseAutoreleasePool();
+void CocoaSetupAutoreleasePool();
+void CocoaReleaseAutoreleasePool();
#endif
int CDECL main(int argc, char *argv[])
@@ -245,7 +245,7 @@ int CDECL main(int argc, char *argv[])
for (int i = 0; i < argc; i++) ValidateString(argv[i]);
#ifdef WITH_COCOA
- cocoaSetupAutoreleasePool();
+ CocoaSetupAutoreleasePool();
/* This is passed if we are launched by double-clicking */
if (argc >= 2 && strncmp(argv[1], "-psn", 4) == 0) {
argv[1] = nullptr;
@@ -261,7 +261,7 @@ int CDECL main(int argc, char *argv[])
int ret = openttd_main(argc, argv);
#ifdef WITH_COCOA
- cocoaReleaseAutoreleasePool();
+ CocoaReleaseAutoreleasePool();
#endif
return ret;