summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorclayjohn <claynjohn@gmail.com>2020-10-03 22:56:00 -0700
committerclayjohn <claynjohn@gmail.com>2020-10-03 22:56:00 -0700
commitbde2f9b46b598c5e21192e97267a51e56399497e (patch)
treecd45e5d845c64ffb76ddb9148d0fdae7ce5f2220
parentb5eea37fb04755e71c541727c1edf3a51e8fe30f (diff)
Return proper texture view format for decals
-rw-r--r--servers/rendering/rasterizer_rd/rasterizer_storage_rd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/rendering/rasterizer_rd/rasterizer_storage_rd.cpp b/servers/rendering/rasterizer_rd/rasterizer_storage_rd.cpp
index a13e7d786b..db2c707984 100644
--- a/servers/rendering/rasterizer_rd/rasterizer_storage_rd.cpp
+++ b/servers/rendering/rasterizer_rd/rasterizer_storage_rd.cpp
@@ -5871,7 +5871,7 @@ RID RasterizerStorageRD::decal_atlas_get_texture() const {
}
RID RasterizerStorageRD::decal_atlas_get_texture_srgb() const {
- return decal_atlas.texture;
+ return decal_atlas.texture_srgb;
}
void RasterizerStorageRD::_update_decal_atlas() {