diff options
author | Michael Lutz <michi@icosahedron.de> | 2021-01-10 22:27:31 +0100 |
---|---|---|
committer | Michael Lutz <michi@icosahedron.de> | 2021-02-13 22:21:17 +0100 |
commit | e6bea3961fa2245c6bc7bb268f9c9bffd4c22fff (patch) | |
tree | 221652db7d38fae6d915f3665f72f42d868a11c5 /src/video/cocoa/cocoa_v.h | |
parent | 4db7837d0671c228303c76f5979bbeb89c600634 (diff) | |
download | openttd-e6bea3961fa2245c6bc7bb268f9c9bffd4c22fff.tar.xz |
Change: [OSX] Replace screen resolution list with suggested window sizes.
We never change the real screen resolution on OSX. As such, offering a list
of resolutions is pointless. Instead of that, offer the user a list of
commonly used window sizes up to the current screen size.
Diffstat (limited to 'src/video/cocoa/cocoa_v.h')
-rw-r--r-- | src/video/cocoa/cocoa_v.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/video/cocoa/cocoa_v.h b/src/video/cocoa/cocoa_v.h index 2aca2034e..a52cbb06e 100644 --- a/src/video/cocoa/cocoa_v.h +++ b/src/video/cocoa/cocoa_v.h @@ -77,6 +77,7 @@ private: friend class WindowQuartzSubdriver; void GameSizeChanged(); + void UpdateVideoModes(); }; class FVideoDriver_Cocoa : public DriverFactoryBase { @@ -210,6 +211,4 @@ public: extern WindowQuartzSubdriver *_cocoa_subdriver; -uint QZ_ListModes(OTTD_Point *modes, uint max_modes, CGDirectDisplayID display_id, int display_depth); - #endif /* VIDEO_COCOA_H */ |