Hi, I would like to resubmit the patch for the Uniform class to re-enable compilation for GLES2. I guess this one (http://forum.openscenegraph.org/viewtopic.php?t=10061&start=15) got lost in the mail threads.
The problem is that Samplers 1D, 3D are not defined in gles2/gl.h. To solve, I encapsulated all occurrences in Uniform and Uniform.cpp with if defines, like : [code] #if !defined(OSG_GLES1_AVAILABLE) && !defined(OSG_GLES2_AVAILABLE) case SAMPLER_1D_SHADOW: case SAMPLER_2D_SHADOW: case SAMPLER_1D_ARRAY: #endif [/code] Thank you! Cheers, Tassilo ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=49201#49201 Attachments: http://forum.openscenegraph.org//files/osg_gles2_uniform_fix_164.zip _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
