diff options
author | Julian Eisel <eiseljulian@gmail.com> | 2017-04-07 18:04:14 +0300 |
---|---|---|
committer | Julian Eisel <eiseljulian@gmail.com> | 2017-04-07 18:05:33 +0300 |
commit | 711ac03fa14a0087d72e2429140357f6748b6972 (patch) | |
tree | 047ebe6af06501f507fc0ffd48d5ae5cfed410e3 | |
parent | 4e09533f8cb67333a268f4af21637f77c8bf13d0 (diff) |
OpenGL: Get rid of PRIM_QUADS usage in manipulators code
-rw-r--r-- | source/blender/windowmanager/manipulators/intern/manipulator_library/primitive_manipulator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/manipulators/intern/manipulator_library/primitive_manipulator.c b/source/blender/windowmanager/manipulators/intern/manipulator_library/primitive_manipulator.c index 7dd5d199e62..cd54f0546a4 100644 --- a/source/blender/windowmanager/manipulators/intern/manipulator_library/primitive_manipulator.c +++ b/source/blender/windowmanager/manipulators/intern/manipulator_library/primitive_manipulator.c @@ -93,7 +93,7 @@ static void manipulator_primitive_draw_geom( } immBindBuiltinProgram(GPU_SHADER_3D_UNIFORM_COLOR); - wm_manipulator_vec_draw(col_inner, verts, vert_count, pos, PRIM_QUADS); + wm_manipulator_vec_draw(col_inner, verts, vert_count, pos, PRIM_TRIANGLE_FAN); wm_manipulator_vec_draw(col_outer, verts, vert_count, pos, PRIM_LINE_LOOP); immUnbindProgram(); } |