[osg-users] fails compilation on linux (Ubuntu Feisty Fawn)

Robert Osfield robert.osfield at gmail.com
Tue Sep 11 11:03:24 PDT 2007

On 9/11/07, David Callu <ledocc at gmail.com> 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\

Then in the header have:



More information about the osg-users mailing list