<div dir="ltr">When using an osg::TextureBuffer, be sure to call setTextureAttribute(...) instead of setTextureAttributeAndModes(...).<div><br><div><br></div></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Glenn Waldron</div></div></div></div>
<br><div class="gmail_quote">On Mon, May 22, 2017 at 9:40 AM, Marius Dransfeld <span dir="ltr"><<a href="mailto:marius.dransfeld@gmail.com" target="_blank">marius.dransfeld@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I'm getting the following error when using osg::TextureBuffer (current OSG git):<br>
Warning: detected OpenGL error 'invalid enumerant' after applying GLMode 0x8c2a<br>
<br>
According to CodeXL this occurs because glEnable(GL_TEXTURE_BUFFER) is called. Looks like this is a bug in OSG?<br>
<br>
Thank you!<br>
<br>
Cheers,<br>
Marius<br>
<br>
------------------<br>
Read this topic online here:<br>
<a href="http://forum.openscenegraph.org/viewtopic.php?p=70952#70952" rel="noreferrer" target="_blank">http://forum.openscenegraph.<wbr>org/viewtopic.php?p=70952#<wbr>70952</a><br>
<br>
<br>
<br>
<br>
<br>
______________________________<wbr>_________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.<wbr>openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.<wbr>org/listinfo.cgi/osg-users-<wbr>openscenegraph.org</a><br>
</blockquote></div><br></div>