You've already forked godot
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:
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user