1
0
Fork 0

Splash: Drop debug logging noise

Drop some unintentional debug logging noise from the sRGB support
detection code.
This commit is contained in:
James Hogan 2022-11-05 17:31:53 +00:00
parent ab02bce279
commit 5645d0b558
No known key found for this signature in database
GPG key ID: 35CEE4862B1023F2

View file

@ -116,14 +116,10 @@ void SplashScreen::createNodes()
osg::GraphicsContext* gc = guiCamera->getGraphicsContext();
osg::GLExtensions* glext = gc->getState()->get<osg::GLExtensions>();
if (glext) {
SG_LOG(SG_VIEW, SG_WARN, "GL version " << glext->glVersion);
SG_LOG(SG_VIEW, SG_WARN, "GL_EXT_texture_sRGB " << osg::isGLExtensionSupported(glext->contextID, "GL_EXT_texture_sRGB"));
SG_LOG(SG_VIEW, SG_WARN, "GL_EXT_framebuffer_sRGB " << osg::isGLExtensionSupported(glext->contextID, "GL_EXT_framebuffer_sRGB"));
useSRGB = osg::isGLExtensionOrVersionSupported(glext->contextID, "GL_EXT_texture_sRGB", 2.1f) &&
osg::isGLExtensionOrVersionSupported(glext->contextID, "GL_EXT_framebuffer_sRGB", 3.0f);
}
}
SG_LOG(SG_VIEW, SG_INFO, "Splash: useSRGB " << useSRGB);
#endif
// setup the base geometry
_splashFBOTexture = new osg::Texture2D;