benilla-re systems structs docs

CGxDeviceOpenGl::EnumPixelFormatsArb

function · gx · host

Address
0x58d470 · 761 bytes, up to 0x58d768
Signature
void __fastcall (void *window, void *list)
Meaning
Lists pixel formats through wglGetPixelFormatAttribivARB and adds a record for each that passes
Confidence
verified, proof one
Finding
gx/device#opengl-window-and-pixel-formats

Finding: OpenGL window and pixel formats in gx: the device

0x58cf10(window procedure, format) creates the OpenGL window with CreateWindowExA, class GxWindowClassOpenGl (0x809a5c), title World of Warcraft (0x82e42c) and style 0x87000000 for full screen (format byte +7 clear). Windowed it uses 0x06cf0000, or 0x90000000 when byte +9 is set, and sizes the outer rectangle for the client size with AdjustWindowRectEx. A popup takes its size from GetSystemMetrics and a full-screen window from the monitor rectangle. 0x58d470 lists pixel formats through wglGetPixelFormatAttribivARB (0x85a9ec), 0x58d770 through DescribePixelFormat; both add records with 0x591220.

The derivation is in the doc.

Callers 1

Callees 4

Calls and jumps by a bare address, from tables/calls.tsv.