Man Page: glutextensionsupported
Operating Environment: centos
Section: 3
UNTITLEDLOCAL UNTITLEDNAMEglutExtensionSupported -- Determine if an OpenGL extension is available.LIBRARYOpenGLUT - openglSYNOPSIS#include <openglut.h> int glutExtensionSupported(const char *extension);PARAMETERSextension A string-name of an extension.DESCRIPTIONReturns 0 if OpenGLUT cannot determine that the requested extension is definitely present. Only checks extensions from glGetString().TODOWouldn'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 ALSOglGetString(3) Epoch