Hi Johannes,
I can see that the definition of the types is presently a bit
convoluteed and needs cleaning up. I'm inclined towards replaceing
the use of the ARB typedefs with just the straight typedef, so would
just have to look for cases where the GLintptr etc. are not defined.
I will step through the header and see what moving away from using the
ARB typedefs would entail.
I would like just qualify on of the changes you've suggested:
//all these profiles declare OpenGL ES 1.1
#if defined(GL_VERSION_ES_CM_1_0) || defined(GL_VERSION_ES_CM_1_1) \
|| defined(GL_VERSION_ES_CL_1_0) || defined(GL_VERSION_ES_CL_1_1)
#define OPENGLES_1_1_FOUND 1
#endif
To me this looks it'll will pass the #if for both ES 1.0 and ES 2.0.
If you wanted to just find out ES 1.1 is supported then I would have
thought:
#if defined(GL_VERSION_ES_CM_1_1) || defined(GL_VERSION_ES_CL_1_1)
#define OPENGLES_1_1_FOUND 1
#endif
Would have been more appropriate.
Cheers,
Robert.
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org