summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-10-04 11:00:33 +0200
committerGitHub <noreply@github.com>2020-10-04 11:00:33 +0200
commit2033bacba4387c8121fe612c86bdc062f60dcc11 (patch)
treea7bae9ab6f44aa2075abdaa027bfeca40655c61e
parent2374281f36b3d6247a5238bae004ac12c09eb174 (diff)
parentbde2f9b46b598c5e21192e97267a51e56399497e (diff)
Merge pull request #42550 from clayjohn/VULKAN-decal-srgb
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() {