Browse Source

Platform: NaCl build workaround.

pull/23/head
Vladimír Vondruš 13 years ago
parent
commit
c65ac5aeb3
  1. 11
      src/Platform/magnum-info.cpp

11
src/Platform/magnum-info.cpp

@ -49,8 +49,15 @@ MagnumInfo::MagnumInfo(const Arguments& arguments): Platform::WindowlessApplicat
Utility::Arguments args;
args.addBooleanOption("all-extensions")
.setHelp("all-extensions", "show extensions also for fully supported versions")
.setHelp("Displays information about Magnum engine and OpenGL capabilities.")
.parse(arguments.argc, arguments.argv);
.setHelp("Displays information about Magnum engine and OpenGL capabilities.");
/**
* @todo Make this work in NaCl, somehow the arguments aren't passed to
* constructor but to Init() or whatnot
*/
#ifndef CORRADE_TARGET_NACL
args.parse(arguments.argc, arguments.argv);
#endif
/* Create context after parsing arguments, so the help can be displayed
without creating context */

Loading…
Cancel
Save