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:
danxionglei 2018-08-07 22:21:07 +08:00
parent 2a0eec4ad6
commit ee916d5c63

View file

@ -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);
}
}
}
};
}