mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
webgl: Ignore webgl communication errors when dropping vertex array objects.
This commit is contained in:
parent
0fef1bfbec
commit
3a3397fbce
4 changed files with 12 additions and 12 deletions
|
@ -166,7 +166,7 @@ impl WebGLBuffer {
|
|||
);
|
||||
}
|
||||
|
||||
pub fn decrement_attached_counter(&self) {
|
||||
pub fn decrement_attached_counter(&self, fallible: bool) {
|
||||
self.attached_counter.set(
|
||||
self.attached_counter
|
||||
.get()
|
||||
|
@ -174,7 +174,7 @@ impl WebGLBuffer {
|
|||
.expect("refcount underflowed"),
|
||||
);
|
||||
if self.is_deleted() {
|
||||
self.delete(false);
|
||||
self.delete(fallible);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue