mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-04 01:48:28 +00:00
Simplify
This commit is contained in:
parent
f40f98a131
commit
b72401847c
@ -98,7 +98,7 @@ impl Renderer {
|
||||
.expect("No color formats supported")
|
||||
};
|
||||
|
||||
let window_size = window.size();
|
||||
let window_size = window.inner.inner_size();
|
||||
let surface_config = wgpu::SurfaceConfiguration {
|
||||
usage: wgpu::TextureUsages::RENDER_ATTACHMENT,
|
||||
format: color_format,
|
||||
|
Loading…
Reference in New Issue
Block a user