diff options
author | Patric Stout <truebrain@openttd.org> | 2021-03-08 15:42:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-08 15:42:39 +0100 |
commit | b93d7dd3cbd6dae2011e7863ba8a7aa19614771e (patch) | |
tree | 83d4630bfbcafc4875479fe8f796f3a3c8703691 /src/video/cocoa/cocoa_v.h | |
parent | 6e2a96c1333a0d383c7a0191c75dabd837feeeb5 (diff) | |
download | openttd-b93d7dd3cbd6dae2011e7863ba8a7aa19614771e.tar.xz |
Add: Option to (dis-)allow accelerated video drivers. (#8819)
The video drivers using the OpenGL backend are currently our only
accelerated drivers. The options defaults to off for macOS builds and
to on everywhere else.
Co-authored-by: Michael Lutz <michi@icosahedron.de>
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 a32c7065d..371e4b5bc 100644 --- a/src/video/cocoa/cocoa_v.h +++ b/src/video/cocoa/cocoa_v.h @@ -122,7 +122,7 @@ protected: class FVideoDriver_CocoaQuartz : public DriverFactoryBase { public: - FVideoDriver_CocoaQuartz() : DriverFactoryBase(Driver::DT_VIDEO, 10, "cocoa", "Cocoa Video Driver") {} + FVideoDriver_CocoaQuartz() : DriverFactoryBase(Driver::DT_VIDEO, 8, "cocoa", "Cocoa Video Driver") {} Driver *CreateInstance() const override { return new VideoDriver_CocoaQuartz(); } }; |