Hi Rafa,

yes you are right. 
I attached a patch which should correct this.
Robert, could you please merge it.

Rafa you could just use this file, until it is merged
in.

Cheers, Art


--- Rafa Gaitan <[EMAIL PROTECTED]> schrieb:

> Hi Robert,
> 
> I'm really curious in the error I'm getting trying
> to compile
> svn version:
>
OSG-SVN/OpenSceneGraph-g++-4.1/include/osg/Uniform:169:
> error:
> 'GL_SAMPLER_1D_ARRAY_EXT' was not declared in this
> scope
>
OSG-SVN/OpenSceneGraph-g++-4.1/include/osg/Uniform:170:
> error:
> 'GL_SAMPLER_2D_ARRAY_EXT' was not declared in this
> scope
>
OSG-SVN/OpenSceneGraph-g++-4.1/include/osg/Uniform:171:
> error:
> 'GL_SAMPLER_1D_ARRAY_SHADOW_EXT' was not declared in
> this scope
>
OSG-SVN/OpenSceneGraph-g++-4.1/include/osg/Uniform:172:
> error:
> 'GL_SAMPLER_2D_ARRAY_SHADOW_EXT' was not declared in
> this scope
> 
> 
> following the headers.. I found that
> GL_SAMPLER_*_ARRAY_EXT
> and the others are defined inside GL2Extensions, but
> only if
> GL_VERSION_2_1 is not defined.  Seeing in the GL
> headers of
> my system I have realized that GL_VERSION_2_1 is
> defined in
> /usr/include/GL/glext.h.. so, those defines are
> never created.
> 
> I thought that if my system support 2.1 version of
> OpenGL the
> defines should be defined there.. but is not my
> case. Has anyone
> report similar problems?. Maybe is required to add
> some
> checks before define this inside Uniform header, but
> I don't
> know how is the better way to solve it.
> 
> Rafa.
> 
> 
> -- 
> Rafael Gaitán Linares
> Instituto de Automática e Informática Industrial 
> http://www.ai2.upv.es
> Ciudad Politécnica de la Innovación
> Universidad Politécnica de Valencia
> > _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
>
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> 



      __________________________________  
Yahoo! Clever: Sie haben Fragen? Yahoo! Nutzer antworten Ihnen. 
www.yahoo.de/clever

Attachment: GL2Extensions
Description: 2620063463-GL2Extensions

_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to