[Bf-blender-cvs] [f29c828b6d3] greasepencil-object: Cleanup: Remove unused shader definition
Antonio Vazquez
noreply at git.blender.org
Sat Apr 22 19:04:37 CEST 2017
Commit: f29c828b6d30e840a2225c813b404083adb743ab
Author: Antonio Vazquez
Date: Sat Apr 22 19:03:53 2017 +0200
Branches: greasepencil-object
https://developer.blender.org/rBf29c828b6d30e840a2225c813b404083adb743ab
Cleanup: Remove unused shader definition
===================================================================
M source/blender/draw/engines/gpencil/gpencil_mode.c
===================================================================
diff --git a/source/blender/draw/engines/gpencil/gpencil_mode.c b/source/blender/draw/engines/gpencil/gpencil_mode.c
index d7655bdd111..594e82eea68 100644
--- a/source/blender/draw/engines/gpencil/gpencil_mode.c
+++ b/source/blender/draw/engines/gpencil/gpencil_mode.c
@@ -100,7 +100,6 @@ typedef struct g_data{
static struct {
struct GPUShader *gpencil_fill_sh;
struct GPUShader *gpencil_stroke_sh;
- struct GPUShader *gpencil_stroke_2D_sh;
struct GPUShader *gpencil_volumetric_sh;
struct GPUShader *gpencil_drawing_point_sh;
struct GPUShader *gpencil_drawing_fill_sh;
@@ -138,7 +137,6 @@ static void GPENCIL_engine_free(void)
{
DRW_SHADER_FREE_SAFE(e_data.gpencil_fill_sh);
DRW_SHADER_FREE_SAFE(e_data.gpencil_stroke_sh);
- DRW_SHADER_FREE_SAFE(e_data.gpencil_stroke_2D_sh);
}
/* create shading group for filling */
More information about the Bf-blender-cvs
mailing list