Closed antonok-edm closed 4 years ago
In wgpu it seems like pipeline setup methods generally accept the wgpu::Device by immutable reference. It works fine this way (Pipeline::new only requires an immutable reference), so I updated the API for creating a GlyphBrush to reflect that.
wgpu
wgpu::Device
Pipeline::new
GlyphBrush
This is related to #26 and #12.
Let's merge it. I think the chances of wgpu changing this are lower now.
Thanks! :clinking_glasses:
In
wgpu
it seems like pipeline setup methods generally accept thewgpu::Device
by immutable reference. It works fine this way (Pipeline::new
only requires an immutable reference), so I updated the API for creating aGlyphBrush
to reflect that.