Object Mode: Cleanup uneeded texture attachment.

This commit is contained in:
Clément Foucault 2018-04-17 16:21:25 +02:00
parent 81ede70609
commit 088b6342e6
1 changed files with 0 additions and 1 deletions

View File

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