Closed Technici4n closed 4 years ago
I think that all mutable references to wgpu::Device can be replaced by immutable references, considering that wgpu::Device has no &mut self function. Do you think this could be changed? I can submit a PR myself if you want me to.
&mut self
Thanks
Yes, that is true. #12 was a similar issue.
Is the mutability requirement an issue for your use case?
Ah yes it makes sense. No, it's not an issue, it was just a bit... surprising!
I think that all mutable references to wgpu::Device can be replaced by immutable references, considering that wgpu::Device has no
&mut self
function. Do you think this could be changed? I can submit a PR myself if you want me to.Thanks