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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user