Collaboration diagram for OpenGL Utilities:
Functions | |
int | glutExtensionSupported (const char *extension) |
void | glutReportErrors (void) |
|
Determine if an OpenGL extension is available.
It is presently a fatal error to call this function without properly initializing OpenGLEAN via glutInit(). If you have no current window, or if extenstion contains an ASCII SPACE character, or if extension cannot be found in glGetString(GL_EXTENSIONS), then 0 is returned. Else returns 1. It is a bit inconsistent that we quietly fail if there is no current window, but blow up with an error message if OpenGLEAN is not properly initialized.
|
|
Reports all available OpenGL errors. Displays as an OpenGLEAN warning every OpenGL error that OpenGL remembers giving to us and which we have not processed. Uses gluErrorString(). This is forcibly done by OpenGLEAN periodically if -gldebug is one of the strings passed into glutInit() via argv.
|
Supported in part by SourceForge.net.
Generated on Fri Sep 16 20:15:37 2005 for OpenGLEAN by
doxygen 1.4.3
The OpenGLEAN project is hosted by
olib.org and
SourceForge.