benilla-re systems structs docs

LowerDeviceFormat

function · console · primitive

Address
0x63b380 · 74 bytes, up to 0x63b3c9
Signature
uint8_t __thiscall (void *this)
Meaning
Lowers the multisample count, else the depth and colour indices, and returns whether it could
Confidence
verified, proof one
Finding
console/display#device-creation

Finding: Device creation in console: display

The device is created from a copy of the record by 0x589ac0 with the window procedure 0x42cfe0. On failure the copy is lowered (0x63b380): the multisample count by 2, to at least 1; then, while the colour index is above 0, the depth index down to 4, then the colour index by one with the depth index back at 7 (4 at colour 0). When it cannot be lowered, the second fixed record is tried once and lowered the same way. With no device, or one with fewer than 2 texture units or no streams, the client shows an error (the locale's startup text, else English) and exits.

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.