From a68a8f3cfa898fbc5eaa74d0713598c2e4d3b5a3 Mon Sep 17 00:00:00 2001 From: nullprop Date: Thu, 13 Apr 2023 19:55:47 +0300 Subject: [PATCH] LessEqual -> Less --- src/core/state.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/core/state.rs b/src/core/state.rs index 1d46c89..7e0564e 100644 --- a/src/core/state.rs +++ b/src/core/state.rs @@ -129,7 +129,7 @@ impl State { &device, &config, "depth_texture", - Some(wgpu::CompareFunction::LessEqual), + Some(wgpu::CompareFunction::Less), 1, ); @@ -139,7 +139,7 @@ impl State { &device, &config, format!("light_depth_texture_{}", i).as_str(), - Some(wgpu::CompareFunction::LessEqual), + Some(wgpu::CompareFunction::Less), 1, ) }) @@ -392,7 +392,7 @@ impl State { &self.device, &self.config, "depth_texture", - Some(wgpu::CompareFunction::LessEqual), + Some(wgpu::CompareFunction::Less), 1, ); for i in 0..6 { @@ -400,7 +400,7 @@ impl State { &self.device, &self.config, format!("light_depth_texture_{}", i).as_str(), - Some(wgpu::CompareFunction::LessEqual), + Some(wgpu::CompareFunction::Less), 1, ); }