Browse Source

Platform: more compact list of GLSL versions in magnum-gl-info.

findsdl-include-root
Vladimír Vondruš 7 years ago
parent
commit
8bac2a05a5
  1. 5
      src/Magnum/Platform/gl-info.cpp

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

@ -26,6 +26,7 @@
#include <Corrade/Utility/Arguments.h>
#include <Corrade/Utility/Debug.h>
#include <Corrade/Utility/DebugStl.h>
#include <Corrade/Utility/String.h>
#include "Magnum/GL/AbstractShaderProgram.h"
#include "Magnum/GL/Buffer.h"
@ -334,9 +335,7 @@ MagnumInfo::MagnumInfo(const Arguments& arguments): Platform::WindowlessApplicat
Debug() << "Detected driver:" << c.detectedDriver();
Debug() << "Supported GLSL versions:";
const std::vector<std::string> shadingLanguageVersions = c.shadingLanguageVersionStrings();
for(const auto& version: shadingLanguageVersions)
Debug() << " " << version;
Debug() << " " << Utility::String::joinWithoutEmptyParts(c.shadingLanguageVersionStrings(), ", ");
if(args.isSet("extension-strings")) {
Debug() << "Extension strings:" << Debug::newline

Loading…
Cancel
Save