From 4e09533f8cb67333a268f4af21637f77c8bf13d0 Mon Sep 17 00:00:00 2001 From: Dalai Felinto Date: Fri, 7 Apr 2017 16:42:56 +0200 Subject: [PATCH] OpenGL / Outliner: QUADS are not supported in core --- source/blender/editors/space_outliner/outliner_draw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/blender/editors/space_outliner/outliner_draw.c b/source/blender/editors/space_outliner/outliner_draw.c index 9836ae314d1..cfe6e6a2bb5 100644 --- a/source/blender/editors/space_outliner/outliner_draw.c +++ b/source/blender/editors/space_outliner/outliner_draw.c @@ -1554,9 +1554,9 @@ static void outliner_draw_tree_element_floating( BLI_assert(te_floating->drag_data->insert_type == TE_INSERT_INTO); immUniformColor4ub(UNPACK3(col), col[3] * 0.5f); - immBegin(PRIM_QUADS, 4); - immVertex2f(pos, coord_x, coord_y); + immBegin(PRIM_TRIANGLE_STRIP, 4); immVertex2f(pos, coord_x, coord_y + UI_UNIT_Y); + immVertex2f(pos, coord_x, coord_y); immVertex2f(pos, ar->v2d.cur.xmax, coord_y + UI_UNIT_Y); immVertex2f(pos, ar->v2d.cur.xmax, coord_y); immEnd();