<div dir="ltr">What i can think of that doesn't break whole design is to call <a href="https://www.khronos.org/opengl/wiki/GLAPI/glGetTexParameter" title="GLAPI/glGetTexParameter">glGetTexParameter</a> (<span class="tpl-enum">GL_TEXTURE_IMMUTABLE_FORMAT) before calling glTexStorage</span><br><br>Le lundi 23 mars 2020 16:39:50 UTC+1, OpenSceneGraph Users a écrit :<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">Hi,
<br>
<br>I'm trying to find the origin of the two warnings we're getting in our application (OpenSceneGraph 3.6.4):
<br>   Warning: detected OpenGL error 'invalid operation' after applying attribute Viewport 0x5555576608a0
<br>   Warning: detected OpenGL error 'invalid operation' after applying GLMode 0xc11
<br>
<br>If I'm using the OpenGL debug message extension then I can see a GL_INVALID_OPERATION
<br>with the message 'Texture is immutable' caused by a call of glTexStorage2D in 'Texture2D.cpp'
<br>in line 309. Both warnings are printed directly after this invalid operation.
<br>
<br>I'm wondering how the texture object can ever be immutable here, because
<br>it's just created in line 306.
<br>
<br>Any ideas? Thanks!
<br>
<br>Greetings,
<br>Daniel
<br>______________________________<wbr>_________________
<br>osg-users mailing list
<br><a href="javascript:" target="_blank" gdf-obfuscated-mailto="OKkGMH30EAAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">osg-...@lists.<wbr>openscenegraph.org</a>
<br><a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" target="_blank" rel="nofollow" onmousedown="this.href='http://www.google.com/url?q\x3dhttp%3A%2F%2Flists.openscenegraph.org%2Flistinfo.cgi%2Fosg-users-openscenegraph.org\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEhxcobqaKtkSCnaCeBWJ1fFl93mw';return true;" onclick="this.href='http://www.google.com/url?q\x3dhttp%3A%2F%2Flists.openscenegraph.org%2Flistinfo.cgi%2Fosg-users-openscenegraph.org\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEhxcobqaKtkSCnaCeBWJ1fFl93mw';return true;">http://lists.openscenegraph.<wbr>org/listinfo.cgi/osg-users-<wbr>openscenegraph.org</a>
<br></blockquote></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:osg-users+unsubscribe@googlegroups.com">osg-users+unsubscribe@googlegroups.com</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/osg-users/8907ae48-d94d-4fd3-bf0f-872da9b82bc2%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/osg-users/8907ae48-d94d-4fd3-bf0f-872da9b82bc2%40googlegroups.com</a>.<br />