OpenGLUT 0.6.3 development - OpenGLUT: OpenGL Utilities
Keywords: OpenGLUT, FreeGLUT, OpenGL, GLUT, X11, Windows, Programming, Documentation, Download, Development, Sourceforge

OpenGLUT Documentation
Introduction | Documentation | Examples | Proposals | Authors | Copying | Todo | Bugs | Links

# OpenGL Utilities
[OpenGLUT API Reference]

## Functions
int | glutExtensionSupported (const char *extension)
void | glutReportErrors (void)

## Function Documentation

int glutExtensionSupported | ( | const char * | extension | ) |

  | Determine if an OpenGL extension is available. Parameters:
  | extension | A string-name of an extension.
Returns 0 if OpenGLUT cannot determine that the requested extension is definitely present. Only checks extensions from glGetString(). Todo: Wouldn't this be simpler and clearer if we used strtok()? Consider an ogWarning() if there is no current rendering context. This is an ugly bit of code with 3 return statements, one of which is never reached. See also: glGetString()

void glutReportErrors | ( | void |  | ) |

| Reports all available OpenGL errors. Displays as an OpenGLUT warning every OpenGL error that OpenGL remembers giving to us and which we have not processed. Uses gluErrorString(). This is forcibly done by OpenGLUT periodically if "-gldebug" is one of the strings passed into glutInit() via . See also: gluErrorString(), glutInit()

OpenGLUT Development @ Sourceforge
Homepage | Summary | Files | CVS | Forums | Lists | Bugs | RFE
Generated on Tue Oct 5 18:44:33 2004 for OpenGLUT by doxygen 1.3.8
The OpenGLUT project is hosted by sourceforge.net.