diff options
author | clayjohn <claynjohn@gmail.com> | 2020-10-03 22:56:00 -0700 |
---|---|---|
committer | clayjohn <claynjohn@gmail.com> | 2020-10-03 22:56:00 -0700 |
commit | bde2f9b46b598c5e21192e97267a51e56399497e (patch) | |
tree | cd45e5d845c64ffb76ddb9148d0fdae7ce5f2220 | |
parent | b5eea37fb04755e71c541727c1edf3a51e8fe30f (diff) |
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() { |