Overlay: Incorrect framebuffer bound in image editor

When the overlays of the image editor is drawn an incorrect framebuffer
is bound. The faulty framebuffer contains a depth texture which is also bound
as an attachment.

Pull Request: https://projects.blender.org/blender/blender/pulls/131244
This commit is contained in:
Jeroen Bakker
2024-12-02 14:35:58 +01:00
parent 9ebce2ce95
commit cd57a17698

View File

@@ -438,7 +438,7 @@ void Instance::draw_v2d(Manager &manager, View &view)
GPU_framebuffer_clear_color(resources.overlay_output_fb, float4(0.0));
background.draw_output(resources.overlay_output_fb, manager, view);
grid.draw_color_only(resources.overlay_output_fb, manager, view);
grid.draw_color_only(resources.overlay_color_only_fb, manager, view);
regular.mesh_uvs.draw(resources.overlay_output_fb, manager, view);
}