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.