[OpenUT]Re: porting to SDL


Sam Lantinga wrote:

Wow! Daniel! :slight_smile:
Yes, the OpenGL support is definitely advanced enough.
Just set the video mode with the SDL_OPENGL flag, perform all your normal
OpenGL work, and use SDL_GL_SwapBuffers() instead of glxSwapBuffers().
No muss, no fuss. :slight_smile:

I know that Heretic II uses that feature so I think I am responsible to
load/link against libGL and not SDL, right? That would be at least the
best way I can think of as it would allow me to dlopen any libGL.

  • bad karma for me :wink:


had to mention this :slight_smile: Magnus Norddahl initially said it when I did
spend some time with UT instead of ClanLib ;-)–
Daniel Vogel

666 @ http://grafzahl.de