diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2017-04-18 12:28:11 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2017-04-18 13:52:29 +0300 |
commit | f1fb605ec9ffd69b82652f3702de8b7ada570fd8 (patch) | |
tree | 6e5206c548c397452d5b138b4797ea0382ed7200 /source/blender/draw/modes/edit_text_mode.c | |
parent | 40e69ad6df585dba8ee4b979919b0898de83b642 (diff) |
GPUFramebuffer: Allow to bind a specific texture mip to framebuffer.
Diffstat (limited to 'source/blender/draw/modes/edit_text_mode.c')
-rw-r--r-- | source/blender/draw/modes/edit_text_mode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/modes/edit_text_mode.c b/source/blender/draw/modes/edit_text_mode.c index 101202cea40..e5cb951051e 100644 --- a/source/blender/draw/modes/edit_text_mode.c +++ b/source/blender/draw/modes/edit_text_mode.c @@ -212,7 +212,7 @@ static void EDIT_TEXT_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); */ |