From 79673d5f530edb35994b3753416009a6b5ab01c3 Mon Sep 17 00:00:00 2001 From: Alexander Bock Date: Mon, 18 May 2015 19:26:09 +0200 Subject: [PATCH] Do not log OpenGL version if the default version is used --- src/engine/openspaceengine.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/engine/openspaceengine.cpp b/src/engine/openspaceengine.cpp index 4efa950e62..258fb0771c 100644 --- a/src/engine/openspaceengine.cpp +++ b/src/engine/openspaceengine.cpp @@ -241,7 +241,8 @@ bool OpenSpaceEngine::create( } openGlVersion = commandlineArgumentPlaceholders.openGlVersion; - LINFO("Using OpenGL version " << openGlVersion); + if (openGlVersion != DefaultOpenGlVersion) + LINFO("Using OpenGL version " << openGlVersion); // Prepend the outgoing sgctArguments with the program name // as well as the configuration file that sgct is supposed to use