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-04-17 17:21:25 +0300
committerClément Foucault <foucault.clem@gmail.com>2018-04-17 18:00:36 +0300
commit088b6342e6449ed3b31ee3d8007eb42f108bc313 (patch)
tree10e3e0b0fef70f1858a2dc80850f68f17422feaf /source
parent81ede7060948ce695b5620b3d887926b07f4b449 (diff)
Object Mode: Cleanup uneeded texture attachment.
Diffstat (limited to 'source')
-rw-r--r--source/blender/draw/modes/object_mode.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/draw/modes/object_mode.c b/source/blender/draw/modes/object_mode.c
index c9ef8640031..f9a02b2a7a2 100644
--- a/source/blender/draw/modes/object_mode.c
+++ b/source/blender/draw/modes/object_mode.c
@@ -2263,7 +2263,6 @@ static void OBJECT_draw_scene(void *vedata)
if (e_data.draw_grid) {
GPU_framebuffer_bind(dfbl->color_only_fb);
DRW_draw_pass(psl->grid);
- GPU_framebuffer_texture_attach(dfbl->default_fb, dtxl->depth, 0, 0);
}
/* Combine with scene buffer last */