[osg-users] Invalid operation on immutable texture
OpenSceneGraph Users
osg-users at lists.openscenegraph.org
Mon Mar 23 08:39:34 PDT 2020
Hi,
I'm trying to find the origin of the two warnings we're getting in our application (OpenSceneGraph 3.6.4):
Warning: detected OpenGL error 'invalid operation' after applying attribute Viewport 0x5555576608a0
Warning: detected OpenGL error 'invalid operation' after applying GLMode 0xc11
If I'm using the OpenGL debug message extension then I can see a GL_INVALID_OPERATION
with the message 'Texture is immutable' caused by a call of glTexStorage2D in 'Texture2D.cpp'
in line 309. Both warnings are printed directly after this invalid operation.
I'm wondering how the texture object can ever be immutable here, because
it's just created in line 306.
Any ideas? Thanks!
Greetings,
Daniel
More information about the osg-users
mailing list