Browse Source

gl-info: the class was still named from back when this was magnum-info.

Haha, 2018 wants its code back.
pull/674/head
Vladimír Vondruš 1 year ago
parent
commit
5457aff1fe
  1. 8
      src/Magnum/Platform/gl-info.cpp

8
src/Magnum/Platform/gl-info.cpp

@ -202,16 +202,16 @@ Vendor extension support:
*/
#ifndef DOXYGEN_GENERATING_OUTPUT
class MagnumInfo: public Platform::WindowlessApplication {
class GLInfo: public Platform::WindowlessApplication {
public:
explicit MagnumInfo(const Arguments& arguments);
explicit GLInfo(const Arguments& arguments);
int exec() override { return 0; }
};
using namespace Containers::Literals;
MagnumInfo::MagnumInfo(const Arguments& arguments): Platform::WindowlessApplication{arguments, NoCreate} {
GLInfo::GLInfo(const Arguments& arguments): Platform::WindowlessApplication{arguments, NoCreate} {
Utility::Arguments args;
args.addBooleanOption('s', "short").setHelp("short", "display just essential info and exit")
.addBooleanOption("extension-strings").setHelp("extension-strings", "list all extension strings provided by the driver (implies --short)")
@ -879,4 +879,4 @@ MagnumInfo::MagnumInfo(const Arguments& arguments): Platform::WindowlessApplicat
}}
MAGNUM_WINDOWLESSAPPLICATION_MAIN(Magnum::MagnumInfo)
MAGNUM_WINDOWLESSAPPLICATION_MAIN(Magnum::GLInfo)

Loading…
Cancel
Save