mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
Use specific assertion for DOM webgl shader
This commit is contained in:
parent
9a358014f9
commit
15a1faff03
1 changed files with 1 additions and 1 deletions
|
@ -224,7 +224,7 @@ impl WebGLShader {
|
||||||
|
|
||||||
impl Drop for WebGLShader {
|
impl Drop for WebGLShader {
|
||||||
fn drop(&mut self) {
|
fn drop(&mut self) {
|
||||||
assert!(self.attached_counter.get() == 0);
|
assert_eq!(self.attached_counter.get(), 0);
|
||||||
self.delete();
|
self.delete();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue