From 0fc89aa3ec523d3d06546220bae5393232274e13 Mon Sep 17 00:00:00 2001 From: Lizzy Fleckenstein Date: Mon, 15 May 2023 23:53:24 +0200 Subject: Blending and liquid source face culling --- src/gfx/state.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/gfx/state.rs') diff --git a/src/gfx/state.rs b/src/gfx/state.rs index 1af6653..b307d85 100644 --- a/src/gfx/state.rs +++ b/src/gfx/state.rs @@ -132,8 +132,7 @@ impl State { sample_count: 1, dimension: wgpu::TextureDimension::D2, format: wgpu::TextureFormat::Depth32Float, - usage: wgpu::TextureUsages::RENDER_ATTACHMENT // 3. - | wgpu::TextureUsages::TEXTURE_BINDING, + usage: wgpu::TextureUsages::RENDER_ATTACHMENT | wgpu::TextureUsages::TEXTURE_BINDING, view_formats: &[], }; let depth_texture = device.create_texture(&depth_descriptor); -- cgit v1.2.3