diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2017-04-05 13:57:32 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2017-04-10 13:36:32 +0300 |
commit | 0811d089b4b88ff553b6514771b1e324025e15ad (patch) | |
tree | 41173633f7068b79fc43837788ab6ae30c7122bf /source/blender/draw/modes/paint_vertex_mode.c | |
parent | fad3fe4ed1930fb0d874b9e01e7de768cbf9d0a1 (diff) |
Draw Manager: Use Texture flag in Framebuffer init.
Diffstat (limited to 'source/blender/draw/modes/paint_vertex_mode.c')
-rw-r--r-- | source/blender/draw/modes/paint_vertex_mode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/draw/modes/paint_vertex_mode.c b/source/blender/draw/modes/paint_vertex_mode.c index b3b32a4d6e9..6bb8cc38488 100644 --- a/source/blender/draw/modes/paint_vertex_mode.c +++ b/source/blender/draw/modes/paint_vertex_mode.c @@ -121,8 +121,8 @@ static void PAINT_VERTEX_engine_init(void *vedata) /* Init Framebuffers like this: order is attachment order (for color texs) */ /* - * DRWFboTexture tex[2] = {{&txl->depth, DRW_BUF_DEPTH_24}, - * {&txl->color, DRW_BUF_RGBA_8}}; + * DRWFboTexture tex[2] = {{&txl->depth, DRW_BUF_DEPTH_24, 0}, + * {&txl->color, DRW_BUF_RGBA_8, DRW_TEX_FILTER}}; */ /* DRW_framebuffer_init takes care of checking if |