How do I use OpenGL extensions?

Started by
0 comments, last by Witchcraven 22 years, 5 months ago
How do I use OpenGL extensions?
--------------------------I present for tribute this haiku:Inane Ravings OfThe Haunting JubilationA Mad Engineer©Copyright 2005 ExtrariusAll Rights Reserved
Advertisement
Windows: You define a pointer to function of the right type then call wglProcAddress(). Red Book (available online) p 569
UNIX: you just call the appropriate function which should be defined in the appropriate headers and dsos.

And of course check that the extension exists first.

Edited by - Fruny on December 5, 2001 5:48:14 PM
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan

This topic is closed to new replies.

Advertisement