[osg-users] New glTexStorage code is disrupting FBO initialization

Glenn Waldron gwaldron at gmail.com
Thu Aug 9 13:26:20 PDT 2018


Robert,

We recently pulled the latest master branch of OpenSceneGraph, and found
that FBOs in osgEarth no longer initialize properly. We narrowed the
problem down to this commit which appears to introduce the usage of
glTexStorage:

https://github.com/openscenegraph/OpenSceneGraph/commit/7be09e8dcd1ed63eb501c12bb7c8df6f6902783b

We are seeing output like the following.

RenderStage::runCameraSetUp(), FBO setup failed, FBO status= 0x8cd6
Warning: RenderStage::runCameraSetUp(State&) Pbuffer does not support
multiple color outputs.
ContextData::incrementContextIDUsageCount(0) to 2
Warning: detected OpenGL error 'invalid enumerant' after applying attribute
Viewport 000002517C076560
RenderStage::runCameraSetUp(), FBO setup failed, FBO status= 0x8cd6
Warning: RenderStage::runCameraSetUp(State&) Pbuffer does not support
multiple color outputs.
ContextData::incrementContextIDUsageCount(0) to 3

The "osgprerender" example still seems to work but generates FBO warnings
as well.  I have not had a chance for a deep-dive yet ... but wanted to
make you aware.

Glenn Waldron / osgEarth
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20180809/bba744f9/attachment.html>


More information about the osg-users mailing list