summaryrefslogtreecommitdiff
path: root/src/new_render/shadows.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/new_render/shadows.c')
-rw-r--r--src/new_render/shadows.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/new_render/shadows.c b/src/new_render/shadows.c
index 758a969..df25e05 100644
--- a/src/new_render/shadows.c
+++ b/src/new_render/shadows.c
@@ -209,6 +209,6 @@ void Shadow_ShadowmapExecute(Shadow_Storage* storage, Mat4 light_space_transform
GPU_CmdEncoder_EndRender(&shadow_encoder); // end renderpass
}
-Handle Shadow_GetShadowMapTexture(Shadow_Storage* storage) {
- return (Handle){ .raw = storage->depth_texture.raw };
+TextureHandle Shadow_GetShadowMapTexture(Shadow_Storage* storage) {
+ return storage->depth_texture;
}