Revert own previous commit, the bug is already fixed a fiew commits before. Sorry for the noise.

This commit is contained in:
Alexander Romanov 2017-03-23 16:36:28 +03:00
parent 0b9041905f
commit f98d9baea9
1 changed files with 0 additions and 8 deletions

View File

@ -414,14 +414,6 @@ static void wm_gesture_draw_lasso(wmWindow *win, wmGesture *gt, bool filled)
unsigned pos = add_attrib(format, "pos", COMP_F32, 2, KEEP_FLOAT);
unsigned line_origin = add_attrib(format, "line_origin", COMP_F32, 2, KEEP_FLOAT);
numverts = gt->points;
if (gt->type == WM_GESTURE_LASSO) {
numverts++;
}
if (numverts <= 1)
return;
immBindBuiltinProgram(GPU_SHADER_2D_LINE_DASHED_COLOR);
immUniform4f("color1", 0.4f, 0.4f, 0.4f, 1.0f);