PDA

View Full Version : how to include glATI.h in my own program?



openbird
04-05-2007, 04:49 AM
hello,
because i can't find much usefaul info on the google, for ATI's opengl programming on linux.

thing is,i want to include glATI.h in my c file.

i'm wondering how to write the "include" section?

should i write it like this?


#include <GL/gl.h>
#include <GL/glx.h>
#include <GL/glATI.h>

will there be some declaration conflicts?

cheers.

V-man
04-05-2007, 06:52 AM
I've never bothered with glATI.h
Download glext.h glxext.h which will have definitions for everything you need from
http://opengl.org/registry/

openbird
04-05-2007, 08:10 AM
so what's the use of glATI.h ?for marketing purpose? lol.

thx V-man.

Jon Leech (oddhack)
04-05-2007, 12:24 PM
Originally posted by openbird:
so what's the use of glATI.h ?for marketing purpose? lol.We have not always been able to keep glext.h up to date with vendor extensions, either because the vendor hasn't submitted the specification to the Registry, or because I was slow about extracting the APIs from the specification and adding it to glext.h. Those are probably the main reasons vendor extension headers exist. Probably they get used in non-public alpha/beta test programs, too.

openbird
04-06-2007, 04:24 AM
i know, Jon,
it should be a hardwork, in my opinion.
i can live without glATI.h.

cheers.