[Bf-blender-cvs] [6ece1257398] greasepencil-object: Fix again the pointer name for textures
Antonio Vazquez
noreply at git.blender.org
Fri Jun 29 09:52:38 CEST 2018
Commit: 6ece1257398a778fa2815131680f1890fefda770
Author: Antonio Vazquez
Date: Fri Jun 29 09:42:43 2018 +0200
Branches: greasepencil-object
https://developer.blender.org/rB6ece1257398a778fa2815131680f1890fefda770
Fix again the pointer name for textures
===================================================================
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 9e794eb3104..c5f19e44d0f 100644
--- a/source/blender/draw/engines/gpencil/gpencil_engine.c
+++ b/source/blender/draw/engines/gpencil/gpencil_engine.c
@@ -121,9 +121,9 @@ static void GPENCIL_create_framebuffers(void *vedata)
/* temp textures */
e_data.temp_depth_tx_a = DRW_texture_pool_query_2D(size[0], size[1], GPU_DEPTH24_STENCIL8,
- &draw_engine_object_type);
+ &draw_engine_gpencil_type);
e_data.temp_color_tx_a = DRW_texture_pool_query_2D(size[0], size[1], fb_format,
- &draw_engine_object_type);
+ &draw_engine_gpencil_type);
GPU_framebuffer_ensure_config(&fbl->temp_fb_a, {
GPU_ATTACHMENT_TEXTURE(e_data.temp_depth_tx_a),
GPU_ATTACHMENT_TEXTURE(e_data.temp_color_tx_a)
@@ -131,9 +131,9 @@ static void GPENCIL_create_framebuffers(void *vedata)
/* background framebuffer to speed up drawing process (always 16 bits) */
e_data.background_depth_tx = DRW_texture_pool_query_2D(size[0], size[1], GPU_DEPTH24_STENCIL8,
- &draw_engine_object_type);
+ &draw_engine_gpencil_type);
e_data.background_color_tx = DRW_texture_pool_query_2D(size[0], size[1], GPU_RGBA16F,
- &draw_engine_object_type);
+ &draw_engine_gpencil_type);
GPU_framebuffer_ensure_config(&fbl->background_fb, {
GPU_ATTACHMENT_TEXTURE(e_data.background_depth_tx),
GPU_ATTACHMENT_TEXTURE(e_data.background_color_tx)
More information about the Bf-blender-cvs
mailing list