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

Metal: Ensure correct output texture format selection

This commit is contained in:
Stuart Carnie
2025-08-08 06:15:54 +10:00
parent 80a219a58a
commit c8b5982d0f
2 changed files with 11 additions and 1 deletions

View File

@@ -1352,6 +1352,7 @@ void RendererViewport::viewport_set_use_hdr_2d(RID p_viewport, bool p_use_hdr_2d
}
viewport->use_hdr_2d = p_use_hdr_2d;
RSG::texture_storage->render_target_set_use_hdr(viewport->render_target, p_use_hdr_2d);
_configure_3d_render_buffers(viewport);
}
bool RendererViewport::viewport_is_using_hdr_2d(RID p_viewport) const {