GPUFramebuffer: Allow to bind a specific texture mip to framebuffer.

This commit is contained in:
2017-04-18 11:28:11 +02:00
parent 40e69ad6df
commit f1fb605ec9
21 changed files with 51 additions and 51 deletions

View File

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