Pārlūkot izejas kodu

Ignore the disable-gpu command line to our parser.

Tobias Hieta 9 gadi atpakaļ
vecāks
revīzija
e88b1ac996
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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);