DRW: Fix wrong framebuffer bound after background pass

This commit is contained in:
Clément Foucault
2018-08-22 15:22:54 +02:00
parent f4f97d1c7f
commit 644fe7c90c

View File

@@ -1496,8 +1496,9 @@ void DRW_draw_render_loop_ex(
}
}
GPU_framebuffer_bind(DST.default_framebuffer);
if (do_bg_image) {
GPU_framebuffer_bind(DST.default_framebuffer);
ED_view3d_draw_bgpic_test(scene, depsgraph, ar, v3d, false, true);
}