瀏覽代碼

Ignore the disable-gpu command line to our parser.

Tobias Hieta 9 年之前
父節點
當前提交
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);