Hi Tassilo,

Robert seems to have a high workload currently, there are some more
submissions pending..

Stay tuned, thanks you’re your patients.

Cheers,
Torben


-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von
Tassilo Glander
Gesendet: Mittwoch, 8. August 2012 09:29
An: [email protected]
Betreff: [osg-submissions] fix GLES2 build: patch for Uniform

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

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

Reply via email to