Changed DisplaySettings::setShaderHint(..) messages to INFO

This commit is contained in:
Robert Osfield 2018-04-05 12:35:36 +01:00
parent 9ea9ab6ae2
commit b92158ed33

View File

@ -1132,28 +1132,28 @@ void DisplaySettings::setShaderHint(ShaderHint hint, bool setShaderValues)
setValue("OSG_PRECISION_FLOAT", "precision highp float;"); setValue("OSG_PRECISION_FLOAT", "precision highp float;");
setValue("OSG_VARYING_IN", "in"); setValue("OSG_VARYING_IN", "in");
setValue("OSG_VARYING_OUT", "out"); setValue("OSG_VARYING_OUT", "out");
OSG_NOTICE<<"DisplaySettings::SHADER_GLES3"<<std::endl; OSG_INFO<<"DisplaySettings::SHADER_GLES3"<<std::endl;
break; break;
case(SHADER_GLES2) : case(SHADER_GLES2) :
setValue("OSG_GLSL_VERSION", ""); setValue("OSG_GLSL_VERSION", "");
setValue("OSG_PRECISION_FLOAT", "precision highp float;"); setValue("OSG_PRECISION_FLOAT", "precision highp float;");
setValue("OSG_VARYING_IN", "varying"); setValue("OSG_VARYING_IN", "varying");
setValue("OSG_VARYING_OUT", "varying"); setValue("OSG_VARYING_OUT", "varying");
OSG_NOTICE<<"DisplaySettings::SHADER_GLES2"<<std::endl; OSG_INFO<<"DisplaySettings::SHADER_GLES2"<<std::endl;
break; break;
case(SHADER_GL3) : case(SHADER_GL3) :
setValue("OSG_GLSL_VERSION", "#version 330"); setValue("OSG_GLSL_VERSION", "#version 330");
setValue("OSG_PRECISION_FLOAT", ""); setValue("OSG_PRECISION_FLOAT", "");
setValue("OSG_VARYING_IN", "in"); setValue("OSG_VARYING_IN", "in");
setValue("OSG_VARYING_OUT", "out"); setValue("OSG_VARYING_OUT", "out");
OSG_NOTICE<<"DisplaySettings::SHADER_GL3"<<std::endl; OSG_INFO<<"DisplaySettings::SHADER_GL3"<<std::endl;
break; break;
case(SHADER_GL2) : case(SHADER_GL2) :
setValue("OSG_GLSL_VERSION", ""); setValue("OSG_GLSL_VERSION", "");
setValue("OSG_PRECISION_FLOAT", ""); setValue("OSG_PRECISION_FLOAT", "");
setValue("OSG_VARYING_IN", "varying"); setValue("OSG_VARYING_IN", "varying");
setValue("OSG_VARYING_OUT", "varying"); setValue("OSG_VARYING_OUT", "varying");
OSG_NOTICE<<"DisplaySettings::SHADER_GL2"<<std::endl; OSG_INFO<<"DisplaySettings::SHADER_GL2"<<std::endl;
break; break;
case(SHADER_NONE) : case(SHADER_NONE) :
setValue("OSG_GLSL_VERSION", ""); setValue("OSG_GLSL_VERSION", "");