Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2017-04-07 17:42:56 +0300
committerDalai Felinto <dfelinto@gmail.com>2017-04-07 17:43:05 +0300
commit4e09533f8cb67333a268f4af21637f77c8bf13d0 (patch)
tree84968f5315e2c1e6f85339b138847df841c6857d /source/blender/editors/space_outliner/outliner_draw.c
parent204e067111af9346fccea9981a0a7962ec8ef906 (diff)
OpenGL / Outliner: QUADS are not supported in core
Diffstat (limited to 'source/blender/editors/space_outliner/outliner_draw.c')
-rw-r--r--source/blender/editors/space_outliner/outliner_draw.c4
1 files 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();