summaryrefslogtreecommitdiff
path: root/platform/osx/os_osx.mm
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2018-03-01 23:17:34 +0200
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2018-03-02 10:05:14 +0200
commitf0d24de960d7617ebcbd8bd6f708d7bbd842152a (patch)
treee00ac7085fd8611d1c78722b050a5938296bbab6 /platform/osx/os_osx.mm
parent08cadc3d871f681ef1f951894345359a85ba190e (diff)
Fix `--help` output, allow renderer override from command line (`--video-driver`).
Diffstat (limited to 'platform/osx/os_osx.mm')
-rw-r--r--platform/osx/os_osx.mm2
1 files changed, 0 insertions, 2 deletions
diff --git a/platform/osx/os_osx.mm b/platform/osx/os_osx.mm
index 6e42eb58bd..a52c20cbea 100644
--- a/platform/osx/os_osx.mm
+++ b/platform/osx/os_osx.mm
@@ -1169,8 +1169,6 @@ Error OS_OSX::initialize(const VideoMode &p_desired, int p_video_driver, int p_a
/*** END OSX INITIALIZATION ***/
- bool use_gl2 = p_video_driver != 1;
-
AudioDriverManager::add_driver(&audio_driver);
// only opengl support here...