Hi Rick,

If we need to protect the testing of certain features for certain drivers
then glVersion number probably isn't sufficient as we have GL and GLES
versions to consider.

Another thing we'd need to do is provide a fallback in case we don't set
the associated values.

BTW, what platform and GL versions are you seeing issus with?

Robert.

On 30 June 2016 at 16:34, Rick Irons <rick.ir...@mathworks.com> wrote:

> 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
>
>
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to