summaryrefslogtreecommitdiff
path: root/src/video/cocoa/cocoa_v.h
diff options
context:
space:
mode:
authorMichael Lutz <michi@icosahedron.de>2021-02-12 01:19:00 +0100
committerMichael Lutz <michi@icosahedron.de>2021-02-13 22:21:17 +0100
commitacca56b6a5791e965950682ede1c97e2301564de (patch)
treea338a0933b4feebf4764305ab727839138db2b02 /src/video/cocoa/cocoa_v.h
parentc78e559e88a7864a0b55cb00c82b6deac27ff1da (diff)
downloadopenttd-acca56b6a5791e965950682ede1c97e2301564de.tar.xz
Cleanup: [OSX] Improve some comments.
Diffstat (limited to 'src/video/cocoa/cocoa_v.h')
-rw-r--r--src/video/cocoa/cocoa_v.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/video/cocoa/cocoa_v.h b/src/video/cocoa/cocoa_v.h
index 3f62102d1..596a9e27d 100644
--- a/src/video/cocoa/cocoa_v.h
+++ b/src/video/cocoa/cocoa_v.h
@@ -63,12 +63,10 @@ public:
void EditBoxLostFocus() override;
- /** Return driver name */
const char *GetName() const override { return "cocoa"; }
/* --- The following methods should be private, but can't be due to Obj-C limitations. --- */
- /** Main game loop. */
void GameLoop();
void AllocateBackingStore();
@@ -77,7 +75,7 @@ protected:
Dimension GetScreenSize() const override;
private:
- bool PollEvent(); // In event.mm.
+ bool PollEvent();
bool IsFullscreen();
void GameSizeChanged();