[Bf-blender-cvs] [088b6342e64] blender2.8: Object Mode: Cleanup uneeded texture attachment.

Clément Foucault noreply at git.blender.org
Tue Apr 17 17:00:40 CEST 2018


Commit: 088b6342e6449ed3b31ee3d8007eb42f108bc313
Author: Clément Foucault
Date:   Tue Apr 17 16:21:25 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB088b6342e6449ed3b31ee3d8007eb42f108bc313

Object Mode: Cleanup uneeded texture attachment.

===================================================================

M	source/blender/draw/modes/object_mode.c

===================================================================

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 */



More information about the Bf-blender-cvs mailing list