Browse Source

Platform: allow engine-specific options in GlfwApplicationTest.

pull/434/head
Vladimír Vondruš 6 years ago
parent
commit
c98635842f
  1. 1
      src/Magnum/Platform/Test/GlfwApplicationTest.cpp

1
src/Magnum/Platform/Test/GlfwApplicationTest.cpp

@ -101,6 +101,7 @@ struct GlfwApplicationTest: Platform::Application {
GlfwApplicationTest::GlfwApplicationTest(const Arguments& arguments): Platform::Application{arguments, NoCreate} { GlfwApplicationTest::GlfwApplicationTest(const Arguments& arguments): Platform::Application{arguments, NoCreate} {
Utility::Arguments args; Utility::Arguments args;
args.addOption("dpi-scaling").setHelp("dpi-scaling", "DPI scaled passed via Configuration instead of --magnum-dpi-scaling, to test app overrides") args.addOption("dpi-scaling").setHelp("dpi-scaling", "DPI scaled passed via Configuration instead of --magnum-dpi-scaling, to test app overrides")
.addSkippedPrefix("magnum", "engine-specific options")
.parse(arguments.argc, arguments.argv); .parse(arguments.argc, arguments.argv);
Configuration conf; Configuration conf;

Loading…
Cancel
Save