Hi Thomas, I have just reviewed your changes but I believe they would be better handled by revising the existing definitions found already in include/osg/GL2Extensions. It's kinda odd that these aren't defined for SDK 5.1, is it that GL_ES_VERSION_2_0 is defined but all the defines associated with it aren't there?
Robert. On 5 April 2012 00:45, Thomas Hogarth <[email protected]> wrote: > Hi Robert > > Attached is a compile fix for IOS when using SDK version 5.1. They have > removed a few unused sampler defines from the gl header > > #define GL_SAMPLER_1D 0x8B5D > #define GL_SAMPLER_3D 0x8B5F > #define GL_SAMPLER_1D_SHADOW 0x8B61 > #define GL_SAMPLER_2D_SHADOW 0x8B62 > > My fix has been to define them in the Uniform header when using IOS SDK 5.1. > > Cheers > Tom > > _______________________________________________ > 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
