Browse Source

Platform: display whether this is GL core profile in magnum-info.

pull/203/merge
Vladimír Vondruš 9 years ago
parent
commit
02efcf43a4
  1. 3
      src/Magnum/Platform/magnum-info.cpp

3
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,

Loading…
Cancel
Save