|
|
|
@ -88,7 +88,7 @@ Sdl2Application::Sdl2Application(const Arguments& arguments, NoCreateT): |
|
|
|
#ifdef MAGNUM_TARGET_GL |
|
|
|
#ifdef MAGNUM_TARGET_GL |
|
|
|
_context.reset(new GLContext{NoCreate, args, arguments.argc, arguments.argv}); |
|
|
|
_context.reset(new GLContext{NoCreate, args, arguments.argc, arguments.argv}); |
|
|
|
#else |
|
|
|
#else |
|
|
|
/** @todo this is duplicated here and in Sdl2Application, figure out a nice
|
|
|
|
/** @todo this is duplicated here and in GlfwApplication, figure out a nice
|
|
|
|
non-duplicated way to handle this */ |
|
|
|
non-duplicated way to handle this */ |
|
|
|
args.addOption("log", "default").setHelp("log", "console logging", "default|quiet|verbose") |
|
|
|
args.addOption("log", "default").setHelp("log", "console logging", "default|quiet|verbose") |
|
|
|
.setFromEnvironment("log") |
|
|
|
.setFromEnvironment("log") |
|
|
|
|