From aebf071143177c60dbcb394dee41c6e9a2414337 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Fri, 5 Feb 2016 17:38:50 +0100 Subject: [PATCH] Platform: make used application printing in magnum-info more foolproof. I don't want to have the same logic duplicated on two places. Also filled in missing values. --- src/Magnum/Platform/magnum-info.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/Magnum/Platform/magnum-info.cpp b/src/Magnum/Platform/magnum-info.cpp index f75c13093..2a6f8658f 100644 --- a/src/Magnum/Platform/magnum-info.cpp +++ b/src/Magnum/Platform/magnum-info.cpp @@ -168,14 +168,16 @@ MagnumInfo::MagnumInfo(const Arguments& arguments): Platform::WindowlessApplicat Debug() << " +---------------------------------------------------------+"; Debug() << ""; - #ifdef CORRADE_TARGET_NACL + #ifdef MAGNUM_WINDOWLESSNACLAPPLICATION_MAIN Debug() << "Used application: Platform::WindowlessNaClApplication"; - #elif defined(CORRADE_TARGET_APPLE) + #elif defined(MAGNUM_WINDOWLESSCGLAPPLICATION_MAIN) Debug() << "Used application: Platform::WindowlessCglApplication"; - #elif defined(CORRADE_TARGET_UNIX) + #elif defined(MAGNUM_WINDOWLESSGLXAPPLICATION_MAIN) Debug() << "Used application: Platform::WindowlessGlxApplication"; - #elif defined(CORRADE_TARGET_WINDOWS) + #elif defined(MAGNUM_WINDOWLESSWGLAPPLICATION_MAIN) Debug() << "Used application: Platform::WindowlessWglApplication"; + #elif defined(MAGNUM_WINDOWLESSWINDOWSEGLAPPLICATION_MAIN) + Debug() << "Used application: Platform::WindowlessWindowsEglApplication"; #else #error no windowless application available on this platform #endif