Rechercher une page de manuel
glutExtensionSupported
Langue: en
Version: 156517 (fedora - 05/07/09)
Section: 3 (Bibliothèques de fonctions)
BSD mandoc
NAME
glutExtensionSupported - Determine if an OpenGL extension is available.LIBRARY
OpenGLUT - openglSYNOPSIS
In openglut.h Ft int Fn glutExtensionSupported const char *extensionPARAMETERS
Bf Em
extension Ef
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)Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre