Commit 76bd32cd authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum
Browse files

[FIX] fixes LineAO warning of unsupported internal format. This was not...

[FIX] fixes LineAO warning of unsupported internal format. This was not correct. The default case is there to keep the default values used in OSG. Warning removed.
parent 983990bc
...@@ -200,7 +200,7 @@ public: ...@@ -200,7 +200,7 @@ public:
void setLinkViewportToTextureSize( bool vp = true ); void setLinkViewportToTextureSize( bool vp = true );
/** /**
* The flag denotes whether the viewport is linked to the texture size or the reference camera. See \ref setViewportToTextureSize for * The flag denotes whether the viewport is linked to the texture size or the reference camera. See \ref setLinkViewportToTextureSize for
* details. * details.
* *
* \return the flag. * \return the flag.
......
...@@ -174,7 +174,6 @@ osg::ref_ptr< osg::Texture2D > WGEOffscreenRenderPass::createTexture( GLint inte ...@@ -174,7 +174,6 @@ osg::ref_ptr< osg::Texture2D > WGEOffscreenRenderPass::createTexture( GLint inte
default: default:
// keep default format and type // keep default format and type
wlog::warn( "WGEOffscreenRenderPass" ) << "Unsupported OpenGL internal format used, this is not available on your platform: " << internalFormat;
break; break;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment