Commit: 4e09533f8cb67333a268f4af21637f77c8bf13d0
Author: Dalai Felinto
Date:   Fri Apr 7 16:42:56 2017 +0200
Branches: blender2.8
https://developer.blender.org/rB4e09533f8cb67333a268f4af21637f77c8bf13d0

OpenGL / Outliner: QUADS are not supported in core

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

M       source/blender/editors/space_outliner/outliner_draw.c

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

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();

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to