diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-10-04 11:00:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-04 11:00:33 +0200 |
commit | 2033bacba4387c8121fe612c86bdc062f60dcc11 (patch) | |
tree | a7bae9ab6f44aa2075abdaa027bfeca40655c61e | |
parent | 2374281f36b3d6247a5238bae004ac12c09eb174 (diff) | |
parent | bde2f9b46b598c5e21192e97267a51e56399497e (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.cpp | 2 |
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() { |