Remove unnecessary borrow in quad::Pipeline
This commit is contained in:
parent
77b59496b0
commit
34c963f7b3
1 changed files with 1 additions and 1 deletions
|
|
@ -218,7 +218,7 @@ impl Layer {
|
||||||
|
|
||||||
let constants = device.create_bind_group(&wgpu::BindGroupDescriptor {
|
let constants = device.create_bind_group(&wgpu::BindGroupDescriptor {
|
||||||
label: Some("iced_wgpu::quad uniforms bind group"),
|
label: Some("iced_wgpu::quad uniforms bind group"),
|
||||||
layout: &constant_layout,
|
layout: constant_layout,
|
||||||
entries: &[wgpu::BindGroupEntry {
|
entries: &[wgpu::BindGroupEntry {
|
||||||
binding: 0,
|
binding: 0,
|
||||||
resource: constants_buffer.as_entire_binding(),
|
resource: constants_buffer.as_entire_binding(),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue