Просмотр исходного кода

Ignore the disable-gpu command line to our parser.

Tobias Hieta 9 лет назад
Родитель
Сommit
e88b1ac996
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      src/main.cpp

+ 1 - 0
src/main.cpp

@@ -117,6 +117,7 @@ int main(int argc, char *argv[])
     // Remove the viewport arguments so that the parser doesn't barf
     args.removeAll("--enable-viewport");
     args.removeAll("--enable-viewport-meta");
+    args.removeAll("--disable-gpu");
 
     // Now parse the command line.
     parser.process(args);