View Full Version : How to use extensions under Unix/Linux?

01-31-2003, 11:13 AM

I'm having difficulty finding info on how to use extensions under Linux. I can get a list of available extensions using glGetString(GL_EXTENTIONS), but then how do I actually use them?

I assume I don't just put them straight in the code, because that would prevent compilation on systems without them. Do I get a pointer to the functions from somewhere?

Does anyone know of a tutorial on this subject?

Thanks in advance,


01-31-2003, 04:25 PM
Not sure. Looked at the documentation I had in a book but it didn't really explain too well.

Try the Linux discussion forum on this same site. Could be the Linux programmers tend to stick to their own forum and not check the others.

Old GLman
01-31-2003, 05:00 PM
You can just go ahead and use then. Get the latest extensions header from the sgi site. Use preprocessor directives to test whether you need to get function pointers for use under win32.

Old GLman