mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Implement Drop for WebGLRenderbuffer
This commit is contained in:
parent
9ea4ca448a
commit
3511e52092
1 changed files with 6 additions and 0 deletions
|
@ -163,3 +163,9 @@ impl WebGLRenderbuffer {
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
impl Drop for WebGLRenderbuffer {
|
||||||
|
fn drop(&mut self) {
|
||||||
|
self.delete();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue