From 02efcf43a4f72e0d43007864c526dc6a89cd0f75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 26 Apr 2017 13:42:16 +0200 Subject: [PATCH] Platform: display whether this is GL core profile in magnum-info. --- src/Magnum/Platform/magnum-info.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Magnum/Platform/magnum-info.cpp b/src/Magnum/Platform/magnum-info.cpp index 6d38eb315..d06ee9911 100644 --- a/src/Magnum/Platform/magnum-info.cpp +++ b/src/Magnum/Platform/magnum-info.cpp @@ -275,6 +275,9 @@ MagnumInfo::MagnumInfo(const Arguments& arguments): Platform::WindowlessApplicat createContext(); Context& c = Context::current(); + #ifndef MAGNUM_TARGET_GLES + Debug() << "Core profile:" << (c.isCoreProfile() ? "yes" : "no"); + #endif Debug() << "Context flags:"; for(const auto flag: {Context::Flag::Debug, Context::Flag::NoError,