mirror of
https://github.com/rust-windowing/winit.git
synced 2026-08-30 05:10:03 -04:00
Add CreationError::NoAvailablePixelFormat
This commit is contained in:
@@ -573,5 +573,5 @@ fn choose_dummy_pixel_format<I>(iter: I) -> Result<libc::c_int, CreationError>
|
||||
}
|
||||
}
|
||||
|
||||
backup_id.ok_or(CreationError::NotSupported)
|
||||
backup_id.ok_or(CreationError::OsError("No available pixel format".to_string()))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user