[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Parsing OpenGL extensions string
- To: linuxgames@sunsite.dk
- Subject: Parsing OpenGL extensions string
- From: "Miguel A. Osorio" <mao@fabricadigital.com.br>
- Date: Thu, 11 Mar 2004 10:30:00 -0300
- Delivered-to: archiver@seul.org
- Delivered-to: mailing list linuxgames@sunsite.dk
- Delivery-date: Thu, 11 Mar 2004 08:34:57 -0500
- In-reply-to:
- Mailing-list: contact linuxgames-help@sunsite.dk; run by ezmlm
- References:
- Reply-to: linuxgames@sunsite.dk
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.