pub(crate) fn validate_host_screenshot(
frame: &HostCpuFrame,
width: i32,
height: i32,
) -> Result<ScreenshotPixelFormat, String>Expand description
Reject truncated host mappings instead of retaining pixels from an earlier frame.
pub(crate) fn validate_host_screenshot(
frame: &HostCpuFrame,
width: i32,
height: i32,
) -> Result<ScreenshotPixelFormat, String>Reject truncated host mappings instead of retaining pixels from an earlier frame.