[osg-users] Texture2DArray and invalid enumerant error

Robert Osfield robert.osfield at gmail.com
Tue Jun 16 00:45:59 PDT 2015

Hi Chris,

OSG svn/trunk + OSG-3.3.x dev series has a modification to Texture2DArray
that makes sure that no modes get applied when you use
setTextureAttributeAndModes() for a Texture2DArray.


On 16 June 2015 at 05:51, Chris Kuliukas <chris at kuliukas.com> wrote:

> It'd be good to resolve this, I just spent half a day tracking this issue
> down. I eventually dug down to the error coming after glEnable(35866) was
> set, which is GL_TEXTURE_2D_ARRAY_EXT, and then coming to this.
> If setTextureAttributeAndModes could just detect a Texture2DArray
> StateAttribute it could give a warning and save a lot of trouble.
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=64094#64094
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20150616/8a437aa4/attachment-0002.htm>

More information about the osg-users mailing list