mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-15 22:28:10 +08:00
Create window with full hd size
This commit is contained in:
committed by
Keavon Chambers
parent
8cd161f087
commit
dccb5235c0
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user