Merge pull request #42550 from clayjohn/VULKAN-decal-srgb

Return proper texture view format for decals
This commit is contained in:
Rémi Verschelde 2020-10-04 11:00:33 +02:00 committed by GitHub
commit 2033bacba4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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() {