centos man page for glutextensionsupported

Query: glutextensionsupported

OS: centos

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

UNTITLED
LOCAL UNTITLED
NAME
glutExtensionSupported -- Determine if an OpenGL extension is available.
LIBRARY
OpenGLUT - opengl
SYNOPSIS
#include <openglut.h> int glutExtensionSupported(const char *extension);
PARAMETERS
extension A string-name of an extension.
DESCRIPTION
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(3) Epoch
Related Man Pages
glutcreatemenuwindow(3) - centos
glutgamemodeget(3) - centos
glutmousefunc(3) - centos
glutstrokewidth(3) - centos
glutswapbuffers(3) - centos
Similar Topics in the Unix Linux Community
Is UNIX an open source OS ?
Set hard block limit for user using quota
Best performance UNIX just for HOST Virtualization?
CentOS 6 ran out of space, need to reclaim it
Please Welcome Dave Munro to the Moderator Team!