1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-25 15:37:42 +00:00

Return proper texture view format for decals

This commit is contained in:
clayjohn
2020-10-03 22:56:00 -07:00
parent b5eea37fb0
commit bde2f9b46b

View File

@@ -5871,7 +5871,7 @@ RID RasterizerStorageRD::decal_atlas_get_texture() const {
} }
RID RasterizerStorageRD::decal_atlas_get_texture_srgb() const { RID RasterizerStorageRD::decal_atlas_get_texture_srgb() const {
return decal_atlas.texture; return decal_atlas.texture_srgb;
} }
void RasterizerStorageRD::_update_decal_atlas() { void RasterizerStorageRD::_update_decal_atlas() {