[osg-users] GL Error vulnerability in OSG 3.4.0 (invalid enum)

Rick Irons Rick.Irons at mathworks.com
Thu Jun 30 08:34:47 PDT 2016


Hi,

openscenegraph/src/osg/GLExtensions.cpp should probably be checking the OpenGL version prior to using the GL_MAX_3D_TEXTURE_SIZE and GL_MAX_ARRAY_TEXTURE_LAYERS_EXT enums (see change below).  Otherwise, such calls will generate GL errors when using older versions of OpenGL.  Any concerns with such a change?

Thanks,
Rick
[cid:image001.png at 01D1D2C2.771617C0]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160630/901c4d64/attachment-0002.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 74127 bytes
Desc: image001.png
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160630/901c4d64/attachment-0002.png>


More information about the osg-users mailing list