benilla-re systems structs docs

s_pixelFormatMismatch

global · gx

Address
0x85c434 · 59 bytes, up to 0x85c46e
Type
char[59]
Meaning
Holds the message "SetupPixelFormatWGL(): pixelFormat does not match requested"
Confidence
verified, proof one
Finding
gx/device#opengl-pixel-format-choice

Finding: OpenGL pixel format choice in gx: the device

0x59dcf0(dc, format) (ecx is the device context, edx the format record) builds an attribute list for the entry point at 0xc0f2e0 (wglChoosePixelFormatARB, called with the list, no float list and room for one format): draw to window 0x2001, support OpenGL 0x2010, full acceleration 0x2027 for 0x2003, double buffer 0x2011, RGBA pixel type 0x2013, the red, green and blue sizes (0x2015, 0x2017, 0x2019), alpha 0x201b, depth 0x2022 and stencil 0x2023 sizes chosen from the format's bit-depth codes, and, when the multisample extension flag 0xc0f2ac is set and the format's sample count at +0x1c is above 1, sample buffers 0x2041 and samples 0x2042.

The derivation is in the doc.