Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2018-08-22 16:22:54 +0300
committerClément Foucault <foucault.clem@gmail.com>2018-08-22 16:23:03 +0300
commit644fe7c90cbaae80a05f7995ee65a9a65f9fc074 (patch)
tree7f01a9d1f95a8b4dbb015f74776ab37753237eff /source
parentf4f97d1c7f196b95c9ed62a945ec6040d60c0a9f (diff)
DRW: Fix wrong framebuffer bound after background pass
Diffstat (limited to 'source')
-rw-r--r--source/blender/draw/intern/draw_manager.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/draw/intern/draw_manager.c b/source/blender/draw/intern/draw_manager.c
index b203cbea69e..17e01016911 100644
--- a/source/blender/draw/intern/draw_manager.c
+++ b/source/blender/draw/intern/draw_manager.c
@@ -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);
}