Function gfxSetScreenFormat

Source
pub unsafe extern "C" fn gfxSetScreenFormat(
    screen: gfxScreen_t,
    format: GSPGPU_FramebufferFormat,
)
Expand description

Changes the pixel format of a screen.

ยงArguments

  • screen - Screen ID (see gfxScreen_t)
  • format - Pixel format (see GSPGPU_FramebufferFormat)

Note: If the currently allocated framebuffers are too small for the specified format, they are freed and new ones are reallocated.