From f1fb605ec9ffd69b82652f3702de8b7ada570fd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Foucault?= Date: Tue, 18 Apr 2017 11:28:11 +0200 Subject: GPUFramebuffer: Allow to bind a specific texture mip to framebuffer. --- source/blender/draw/modes/edit_lattice_mode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/draw/modes/edit_lattice_mode.c') diff --git a/source/blender/draw/modes/edit_lattice_mode.c b/source/blender/draw/modes/edit_lattice_mode.c index b641b22186a..a73b49108bd 100644 --- a/source/blender/draw/modes/edit_lattice_mode.c +++ b/source/blender/draw/modes/edit_lattice_mode.c @@ -234,7 +234,7 @@ static void EDIT_LATTICE_draw_scene(void *vedata) * DRW_framebuffer_texture_detach(dtxl->depth); * DRW_framebuffer_bind(fbl->custom_fb); * DRW_draw_pass(psl->pass); - * DRW_framebuffer_texture_attach(dfbl->default_fb, dtxl->depth, 0); + * DRW_framebuffer_texture_attach(dfbl->default_fb, dtxl->depth, 0, 0); * DRW_framebuffer_bind(dfbl->default_fb); */ -- cgit v1.2.3