mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
fix(webgl): fix issue https://github.com/servo/servo/issues/21352
If we have a bounded framebuffer previously, which is not the one to delete. we would not change the !binding, but we would change the GLSide with Command::BindFramebuffer(Default).
This commit is contained in:
parent
2a0eec4ad6
commit
ee916d5c63
1 changed files with 3 additions and 4 deletions
|
@ -93,12 +93,11 @@ macro_rules! handle_object_deletion {
|
|||
if let Some(bound_object) = $binding.get() {
|
||||
if bound_object.id() == $object.id() {
|
||||
$binding.set(None);
|
||||
}
|
||||
|
||||
if let Some(command) = $unbind_command {
|
||||
$self_.send_command(command);
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue