Create window with full hd size

This commit is contained in:
Dennis Kobert
2023-06-16 20:35:42 +02:00
committed by Keavon Chambers
parent 8cd161f087
commit dccb5235c0
3 changed files with 11 additions and 8 deletions

View File

@@ -405,7 +405,7 @@ impl gpu_executor::GpuExecutor for WgpuExecutor {
width: 1920,
height: 1080,
present_mode: surface_caps.present_modes[0],
alpha_mode: wgpu::CompositeAlphaMode::PreMultiplied,
alpha_mode: surface_caps.alpha_modes[0],
view_formats: vec![wgpu::TextureFormat::Bgra8UnormSrgb],
};
surface.configure(&self.context.device, &config);