Initallizing opengl on Linux

Started by
1 comment, last by Roboguy 19 years, 5 months ago
How may I initiallize Opengl on Linux? Without using GLUT. Thanks in advance!
Advertisement
You can of course use X and GLX, but I think it's safe to say, using SDL would be much easier (and the added bonus, the same code should work on win32, Mac etc)

As far as I'm aware, SDL is the most popular. Especially for games which were developed jointly for Win32.

For instance, bzflag uses GLX directly, but that's because it was original for SGI and it predates SDL.

But most others I know (including commercial games, like Chronic Logic's titles), use SDL.

Mark
IIRC, this page has a tutorial on initializing OGL with SDL

This topic is closed to new replies.

Advertisement