CGxDeviceOpenGl::CreateWindow
function · gx · host
- Address
0x58cf10· 322 bytes, up to0x58d051- Signature
void __fastcall (void *windowProc, const void *format)- Meaning
- Creates the OpenGL window from the format's mode and style bytes and its client size
- 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 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.