Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2017-04-05 13:57:32 +0300
committerClément Foucault <foucault.clem@gmail.com>2017-04-10 13:36:32 +0300
commit0811d089b4b88ff553b6514771b1e324025e15ad (patch)
tree41173633f7068b79fc43837788ab6ae30c7122bf /source/blender/draw/modes/paint_weight_mode.c
parentfad3fe4ed1930fb0d874b9e01e7de768cbf9d0a1 (diff)
Draw Manager: Use Texture flag in Framebuffer init.
Diffstat (limited to 'source/blender/draw/modes/paint_weight_mode.c')
-rw-r--r--source/blender/draw/modes/paint_weight_mode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/draw/modes/paint_weight_mode.c b/source/blender/draw/modes/paint_weight_mode.c
index 2d189e07fd2..72251e18067 100644
--- a/source/blender/draw/modes/paint_weight_mode.c
+++ b/source/blender/draw/modes/paint_weight_mode.c
@@ -121,8 +121,8 @@ static void PAINT_WEIGHT_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