mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2025-01-11 05:21:31 +11:00
Test now less restrictive
This commit is contained in:
parent
1f22b3b226
commit
c61b4ccf99
|
@ -30,5 +30,6 @@ fn main() {
|
|||
let mut value: (u8, u8, u8, u8) = unsafe { std::mem::uninitialized() };
|
||||
unsafe { gl.ReadPixels(0, 0, 1, 1, gl::RGBA, gl::UNSIGNED_BYTE, std::mem::transmute(&mut value)) };
|
||||
|
||||
assert_eq!(value, (0, 255, 0, 255));
|
||||
assert!(value == (0, 255, 0, 255) || value == (0, 64, 0, 255) ||
|
||||
value == (0, 64, 0, 255) || value == (0, 64, 0, 0));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue