hecrj / wgpu_glyph

A fast text renderer for wgpu (https://github.com/gfx-rs/wgpu)
https://docs.rs/wgpu_glyph
MIT License
443 stars 77 forks source link

Don't require mutable reference to wgpu::Device #30

Closed fintelia closed 4 years ago

fintelia commented 4 years ago

None of the methods on wgpu::Device actually require a mutable reference, so all functions in wgpu_glyph should not require one either

hecrj commented 4 years ago

This is related to #12 and #26.

However, since we already merged #29, it makes sense to merge this one too! Thank you! :clinking_glasses: