On 9/11/07, David Callu <[EMAIL PROTECTED]> wrote:
> but probably better like this :-)
I'm not sure about relying upon GL_EXT_gpu_shader4 rather than
GL_SAMPLER_2D_ARRAY_EXT, personally I'd rather keep things more
focused on just the defines you need.
Reflecting on this issue I wonder if use of macro might not be be best
and do the #ifdef per define i.e.
#define GL_DEIFINE(name, value) \
#ifndef name \
#define name value\
#endif
Then in the header have:
GL_DEFINE(GL_SAMPLER_1D_ARRAY_EXT, 0x8DC0)
Thoughts?
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org