Hi Stephan,

GL_RED was already being #define'd into src/osg/Image.cpp for exactly
the same reason so rather than have multiple places doing the define
I've moved the #define's done in Image.cpp for GLES into the
include/osg/Image header.  Texture.cpp will include this header so
should solve the problem.

Could you do an svn update and let me know if this fixes things, thanks,
Robert.

On Sat, Aug 28, 2010 at 12:03 PM, Stephan Huber <[email protected]> wrote:
> Hi Robert,
>
> as noted by Rafa on osg-users, GL_RED is not defined for open gl es. I
> added a define to fix this, see attached texture.cpp.
>
> cheers,
> Stephan
>
> _______________________________________________
> 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