[SDL] OpenGL extensions

Pasi Kärkkäinen pasik at iki.fi
Tue Feb 1 04:48:00 PST 2005


On Tue, Feb 01, 2005 at 01:27:08PM +0100, Bram Thijssen wrote:
> Hi everyone,
> 
> I seem to have problems getting the OGL extensions in SDL (both 1.2.8 and 
> the CVS version). I use the function SDL_GL_GetProcAddress for all 
> functions, and it works just fine for things like glBegin, etc but when I 
> want to get extension functions like glActiveTextureARB or glTexImage3DEXT, 
> the only thing I get is a NULL pointer. I loaded the OGL library with 
> SDL_GL_LoadLibrary(NULL). I'm sure my card supports both these extensions, 
> so does anyone know what I'm doing wrong here?
> 

Not answer to your question, but try http://glew.sf.net to handle the
extensions for you..

-- Pasi
       
                                   ^
                                .     .
                                 Linux
                              /    -    \
                             Choice.of.the
                           .Next.Generation.




More information about the SDL mailing list