hecrj/wgpu_glyph

&mut wgpu::Device does not have to be mutable

Technici4n opened this issue · 2 comments

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

hecrj commented

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!