From 0811d089b4b88ff553b6514771b1e324025e15ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Foucault?= Date: Wed, 5 Apr 2017 12:57:32 +0200 Subject: Draw Manager: Use Texture flag in Framebuffer init. --- source/blender/draw/modes/paint_weight_mode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/draw/modes/paint_weight_mode.c') 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 -- cgit v1.2.3