summaryrefslogtreecommitdiff
path: root/client/src/ui.rs
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/ui.rs')
-rw-r--r--client/src/ui.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/ui.rs b/client/src/ui.rs
index a5ff775..aa062fe 100644
--- a/client/src/ui.rs
+++ b/client/src/ui.rs
@@ -131,7 +131,7 @@ impl UiRenderer {
depth_stencil: Some(DepthStencilState {
format: TextureFormat::Depth32Float,
depth_write_enabled: false,
- depth_compare: CompareFunction::Always,
+ depth_compare: CompareFunction::LessEqual,
stencil: Default::default(),
bias: Default::default(),
}),