WGL/GLX Extension with SDL

Hello!

I’d like to add SDL support to my new OpenGL framework. But I don’t know
how to use WGL or GLX extension with SDL. For example I need a
rendering/device context for WGL_ARB_pixel_format or WGL_ARB_pbuffer. So
how do I use them with SDL?

Thanks a lot
Florian Rudolf

You don’t need to use WGL to use SDL!
SDL does that for you.

Just look into the testgl sample provided with the SDL source code.

Florian Rudolf wrote:> Hello!

I’d like to add SDL support to my new OpenGL framework. But I don’t know
how to use WGL or GLX extension with SDL. For example I need a
rendering/device context for WGL_ARB_pixel_format or WGL_ARB_pbuffer. So
how do I use them with SDL?

Thanks a lot
Florian Rudolf


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

Please ignore my previous mail, I should have read your mail more
carefully.

Look into the header file SDL_wingl_c.h, maybe you can find an
answer there.

Florian Rudolf wrote:> Hello!

I’d like to add SDL support to my new OpenGL framework. But I don’t know
how to use WGL or GLX extension with SDL. For example I need a
rendering/device context for WGL_ARB_pixel_format or WGL_ARB_pbuffer. So
how do I use them with SDL?

Thanks a lot
Florian Rudolf


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl