[][src]Function sdl2_sys::SDL_SetWindowMaximumSize

pub unsafe extern "C" fn SDL_SetWindowMaximumSize(
    window: *mut SDL_Window,
    max_w: c_int,
    max_h: c_int
)

\brief Set the maximum size of a window's client area.

\param window The window to set a new maximum size. \param max_w The maximum width of the window, must be >0 \param max_h The maximum height of the window, must be >0

\note You can't change the maximum size of a fullscreen window, it automatically matches the size of the display mode.

\sa SDL_GetWindowMaximumSize() \sa SDL_SetWindowMinimumSize()