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