From 5457aff1fe2ac842112524d94b612c789d6e36b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sat, 1 Mar 2025 16:39:07 +0100 Subject: [PATCH] gl-info: the class was still named from back when this was magnum-info. Haha, 2018 wants its code back. --- src/Magnum/Platform/gl-info.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Magnum/Platform/gl-info.cpp b/src/Magnum/Platform/gl-info.cpp index 4b4481171..f075d99d1 100644 --- a/src/Magnum/Platform/gl-info.cpp +++ b/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)