Hi Mathias, changes look good, now merged and checked into svn/trunk.
Cheers, Robert.

On Mon, Jun 21, 2010 at 5:08 PM, Mathias Fiedler <[email protected]> wrote:
> Hi,
>
> i'm using OSG on ES 2.0 and observed that only one texture unit will be 
> supported by OSG.
> In State::initializeExtensionProcs() the _glMaxTextureUnits is calculated 
> based on osg::getGLVersionNumber().
> At least for ES 2.0 this function will return 0.f since the version string 
> will look like "OpenGL ES 2.0 ...".
>
> My proposal doesn't touch getGLVersionNumber(), since desktop OpenGL 2.0 
> isn't OpenGL ES 2.0.
> So i changed the conditions in State::initializeExtensionProcs() for getting 
> the number via glGetIntegerv().
>
> Cheers,
> Mathias
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=29217#29217
>
>
>
>
> _______________________________________________
> osg-submissions mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to