Use specific negative assertion for gultin window

This commit is contained in:
CYBAI 2018-01-26 02:24:30 +08:00
parent a13a9f8f8d
commit 31631cdc47

View file

@ -138,7 +138,7 @@ impl HeadlessContext {
gl::UNSIGNED_BYTE,
width as i32,
height as i32);
assert!(ret != 0);
assert_ne!(ret, 0);
};
HeadlessContext {