Function SDL_WINDOWPOS_CENTERED_DISPLAY

pub const fn SDL_WINDOWPOS_CENTERED_DISPLAY(X: u32) -> i32
Available on crate feature dep_sdl3 only.
Expand description

Used to indicate that the window position should be centered.

SDL_WINDOWPOS_CENTERED is the same, but always uses the primary display instead of specifying one.

§Parameters

§Availability

This macro is available since SDL 3.2.0.