[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Parsing OpenGL extensions string



Hey people,


I recently downloaded a GDC presentation by Mark Kilgard on OpenGL extensions, and there's a section on using extensions. Run-time checking of extensions is done by searching inside the string returned by glGetString(GL_EXTENSIONS), but Kilgard advises *not* to use the standard function "strstr", using instead glutExtensionSupported or other routine.

What would be the problem using strstr?


[]s,
M.