Hi,

the new uniforms broke built for GLES2 (Samplers 1D, 3D are not defined in 
gles2/gl.h)
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=47074#47074




Attachments: 
http://forum.openscenegraph.org//files/uniform_gles_fix_398.zip


_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to