From 1e059ddb25a56995aca739987e3a4cd98cd344c4 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 22 Apr 2017 18:25:27 +0300 Subject: Dont start video mode detection if render command line parameter used. --- src/client.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/client.cpp b/src/client.cpp index 72aac6391..307418964 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -402,6 +402,7 @@ void Client::gameInit() #if !defined(ANDROID) && !defined(__APPLE__) && \ !defined(__native_client__) && !defined(UNITTESTS) if (!settings.options.safeMode && + settings.options.renderer < 0 && settings.options.test.empty() && !config.getBoolValue("videodetected")) { -- cgit v1.2.3-70-g09d2