mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Use specific assertion for webgl thread
This commit is contained in:
parent
cde99646a6
commit
1ca913168d
1 changed files with 1 additions and 1 deletions
|
@ -884,7 +884,7 @@ impl WebGLImpl {
|
||||||
// TODO: update test expectations in order to enable debug assertions
|
// TODO: update test expectations in order to enable debug assertions
|
||||||
//if cfg!(debug_assertions) {
|
//if cfg!(debug_assertions) {
|
||||||
let error = ctx.gl().get_error();
|
let error = ctx.gl().get_error();
|
||||||
assert!(error == gl::NO_ERROR, "Unexpected WebGL error: 0x{:x} ({})", error, error);
|
assert_eq!(error, gl::NO_ERROR, "Unexpected WebGL error: 0x{:x} ({})", error, error);
|
||||||
//}
|
//}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue