Am Dienstag, 24. April 2007 schrieb Angus Lees:
> > I think problem was with glext.h not have all *ATI define.  The
> > Nvidia dev package no have them listed, so it could not compile &
> > link them.
>
> I'm using the prototypes from SDL_opengl.h - which on my version has all
> the ATI functions mentioned above.  Giel says he was getting *linker*
> errors, so I don't think merely having the prototypes around will be
> sufficient.
>
> How do these extension functions get loaded?  I assumed they were some sort
> of lazy thing, filled out by some sdl/opengl init call when they exist. 
> The reality is probably not at all like that..  Do I have to get my own
> function pointers?
As long as you don't use GLEW or similar you have to do that, yes.
Have a look at static BOOL stencil_one_pass(void) in piedraw.c for an example.

--Dennis

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev

Reply via email to