s_wglExtensionString
global · gx
- Address
0xc0f3f0· 4 bytes, up to0xc0f3f3- Type
char *- Meaning
- Holds the cached WGL extension string until the context is released
- Confidence
- verified, proof one
- Finding
- gx/opengl#extension-tests
Finding: Extension tests in gx: the OpenGL context and extensions
An extension is listed when its name starts a space-separated word of the extension string,
compared ignoring case over the name's length only, so GL_EXT_texture matches
GL_EXT_texture3D. For a GL extension the test first looks the name up in the environment: a
variable of that name whose text converts to 0 makes the extension absent. The GL string is
glGetString(GL_EXTENSIONS); the WGL string comes from wglGetExtensionsStringARB on the current
device context, and with no such entry point every WGL extension is absent. Both strings are
cached until the context is released.
The derivation is in the doc.