Does SDL use glX?

hello!

i am very new to opengl & sdl, and wanted to know, whether sdl uses the
opengl X extension. i think of glXCreateContext(). and do i have to call
glXWaitX() resp. glXWaitGL(), when I want to use glXUseXFont()? do i need this?
i haven’t looked at sdl sources yet…

tnx in advance.

cheers, tolga.–
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net

i am very new to opengl & sdl, and wanted to know, whether sdl uses the
opengl X extension. i think of glXCreateContext(). and do i have to call
glXWaitX() resp. glXWaitGL(), when I want to use glXUseXFont()? do i need this?
i haven’t looked at sdl sources yet…

On Unix systems, SDL uses glX internally. On Windows, it uses “wgl”, etc.

When writing an OpenGL program with SDL, you should NEVER need to call a
glX function. SDL should hide those platform-specific details from you.

–ryan.