benilla-re systems structs docs

s_wglGetExtensionsStringEntry

global · gx

Address
0xc0f2ec · 4 bytes, up to 0xc0f2ef
Type
void *
Meaning
Holds the wglGetExtensionsStringARB entry point, 0 when absent
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.