[Bf-blender-cvs] [f4a4e394ff1] greasepencil-object: Change temp texture to DRW_TEX_RGBA_32

Antonio Vazquez noreply at git.blender.org
Fri Jun 23 15:52:01 CEST 2017


Commit: f4a4e394ff11c3e8c6ce9dbc65fd641253dbbdcb
Author: Antonio Vazquez
Date:   Fri Jun 23 09:30:22 2017 +0200
Branches: greasepencil-object
https://developer.blender.org/rBf4a4e394ff11c3e8c6ce9dbc65fd641253dbbdcb

Change temp texture to DRW_TEX_RGBA_32

===================================================================

M	source/blender/draw/engines/gpencil/gpencil_engine.c

===================================================================

diff --git a/source/blender/draw/engines/gpencil/gpencil_engine.c b/source/blender/draw/engines/gpencil/gpencil_engine.c
index a4c142d6b9a..9e76da771a3 100644
--- a/source/blender/draw/engines/gpencil/gpencil_engine.c
+++ b/source/blender/draw/engines/gpencil/gpencil_engine.c
@@ -56,7 +56,7 @@ static void GPENCIL_engine_init(void *vedata)
 
 	DRWFboTexture tex_color[2] = {{
 			&e_data.temp_fbcolor_depth_tx, DRW_TEX_DEPTH_24, DRW_TEX_TEMP },
-			{ &e_data.temp_fbcolor_color_tx, DRW_TEX_RGBA_8, DRW_TEX_FILTER | DRW_TEX_TEMP }
+			{ &e_data.temp_fbcolor_color_tx, DRW_TEX_RGBA_32, DRW_TEX_TEMP }
 	};
 	/* init temp framebuffer */
 	DRW_framebuffer_init(




More information about the Bf-blender-cvs mailing list