From 1d88773b1f2e905773069a2d39617dd350683547 Mon Sep 17 00:00:00 2001 From: Mike Erwin Date: Fri, 22 Jan 2016 02:44:33 -0500 Subject: OpenGL: cleanup - LINE_STRIP to LINES when only drawing one - group state changes for easier reading - general cleanup --- source/blender/editors/util/ed_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/util') diff --git a/source/blender/editors/util/ed_util.c b/source/blender/editors/util/ed_util.c index 1c3ab03c43a..1f4ce926f16 100644 --- a/source/blender/editors/util/ed_util.c +++ b/source/blender/editors/util/ed_util.c @@ -316,7 +316,7 @@ void ED_region_draw_mouse_line_cb(const bContext *C, ARegion *ar, void *arg_info UI_ThemeColor(TH_VIEW_OVERLAY); setlinestyle(3); - glBegin(GL_LINE_STRIP); + glBegin(GL_LINES); glVertex2iv(mval_dst); glVertex2fv(mval_src); glEnd(); -- cgit v1.2.3