Function projectm_sys::projectm_set_aspect_correction
source · [−]pub unsafe extern "C" fn projectm_set_aspect_correction(
instance: projectm_handle,
enabled: bool
)Expand description
@brief Enabled or disables aspect ratio correction in presets that support it.
This sets a flag presets can use to aspect-correct rendered shapes, which otherwise would be distorted if the viewport isn’t exactly square.
@param instance The projectM instance handle. @param enabled True to enable aspect correction, false to disable it.