Parcourir la source

Ignore the disable-gpu command line to our parser.

Tobias Hieta il y a 9 ans
Parent
commit
e88b1ac996
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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);