Update to wgpu 0.14
This commit is contained in:
parent
14c634c8aa
commit
36fd030ecf
2 changed files with 5 additions and 4 deletions
|
@ -7,8 +7,8 @@ use glyphon::{
|
|||
Color, HasColor, Resolution, TextAtlas, TextOverflow, TextRenderer,
|
||||
};
|
||||
use wgpu::{
|
||||
Backends, CommandEncoderDescriptor, DeviceDescriptor, Features, Instance, Limits, LoadOp,
|
||||
Operations, PresentMode, RenderPassColorAttachment, RenderPassDescriptor,
|
||||
Backends, CommandEncoderDescriptor, CompositeAlphaMode, DeviceDescriptor, Features, Instance,
|
||||
Limits, LoadOp, Operations, PresentMode, RenderPassColorAttachment, RenderPassDescriptor,
|
||||
RequestAdapterOptions, SurfaceConfiguration, TextureUsages, TextureViewDescriptor,
|
||||
};
|
||||
use winit::{
|
||||
|
@ -64,6 +64,7 @@ async fn run() {
|
|||
width: size.width,
|
||||
height: size.height,
|
||||
present_mode: PresentMode::Mailbox,
|
||||
alpha_mode: CompositeAlphaMode::Opaque,
|
||||
};
|
||||
surface.configure(&device, &config);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue