summaryrefslogtreecommitdiff
path: root/video.cpp
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2025-02-22 23:11:15 +1100
committerquou <quou@disroot.org>2025-02-22 23:25:45 +1100
commited5d6dfa2ed08c5a9185f3eb4ffb4deb898ed2af (patch)
tree29a6dc82b3ccd528c80978dbc5bd6ef8c925f231 /video.cpp
parentab9ed1ccadbd2c1b971bfbfb5ee651aa03a4a63e (diff)
move shadows to a fullscreen buffer
Diffstat (limited to 'video.cpp')
-rw-r--r--video.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/video.cpp b/video.cpp
index fa98813..28df58b 100644
--- a/video.cpp
+++ b/video.cpp
@@ -1386,7 +1386,7 @@ void Device_Vk::create_depth(int w, int h) {
destroy_texture(depth);
depth = create_texture(
"default depth",
- texture_format_d24s8,
+ texture_format_d32,
Texture_Flags::sampleable | Texture_Flags::depth_stencil_target,
w,
h,