[Bf-blender-cvs] [69f7b513b53] blender2.8: Immediate Mode: removing unecessary comment on gpencil (false positive)

Dalai Felinto noreply at git.blender.org
Tue Apr 4 17:37:15 CEST 2017


Commit: 69f7b513b5395931d2ae146c43c0661f8c95732e
Author: Dalai Felinto
Date:   Tue Apr 4 17:04:03 2017 +0200
Branches: blender2.8
https://developer.blender.org/rB69f7b513b5395931d2ae146c43c0661f8c95732e

Immediate Mode: removing unecessary comment on gpencil (false positive)

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

M	source/blender/editors/gpencil/drawgpencil.c

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

diff --git a/source/blender/editors/gpencil/drawgpencil.c b/source/blender/editors/gpencil/drawgpencil.c
index f701a547829..7e37d0a5a83 100644
--- a/source/blender/editors/gpencil/drawgpencil.c
+++ b/source/blender/editors/gpencil/drawgpencil.c
@@ -739,7 +739,6 @@ static void gp_draw_stroke_2d(const bGPDspoint *points, int totpoints, short thi
 		unsigned pos = add_attrib(format, "pos", GL_FLOAT, 2, KEEP_FLOAT);
 		unsigned color = add_attrib(format, "color", GL_UNSIGNED_BYTE, 4, NORMALIZE_INT_TO_FLOAT);
 
-		/* this code previously used glShadeModel(GL_FLAT) */
 		immBindBuiltinProgram(GPU_SHADER_2D_FLAT_COLOR);
 		immBegin(GL_QUADS, (totpoints - 2) * 4 + 12);




More information about the Bf-blender-cvs mailing list