benilla-re systems structs docs

s_glEntryPointsProbed

global · gx

Address
0xc0ed3c · 1 bytes, up to 0xc0ed3c
Type
uint8_t
Meaning
Holds 1 once the OpenGL entry point probe has run
Confidence
verified, proof one
Finding
gx/opengl#loading-the-entry-points

Finding: Loading the entry points in gx: the OpenGL context and extensions

The first context the backend makes is preceded, once per run, by a probe: a hidden window of class hwacc, the first pixel format of its device context whose flags have 0x4 or 0x20 and neither 0x10 nor 0x40, and a context made current on it. With it current the probe reads the GL extensions and entry points (0x59aff0) and the WGL ones (0x58c580), then deletes the context, the window and the class. The flag 0xc0ed3c is set before anything is tried, so a probe that fails is not repeated.

The derivation is in the doc.