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
path: root/source
diff options
context:
space:
mode:
authorJulian Eisel <eiseljulian@gmail.com>2017-04-07 18:04:14 +0300
committerJulian Eisel <eiseljulian@gmail.com>2017-04-07 18:05:33 +0300
commit711ac03fa14a0087d72e2429140357f6748b6972 (patch)
tree047ebe6af06501f507fc0ffd48d5ae5cfed410e3 /source
parent4e09533f8cb67333a268f4af21637f77c8bf13d0 (diff)
OpenGL: Get rid of PRIM_QUADS usage in manipulators code
Diffstat (limited to 'source')
-rw-r--r--source/blender/windowmanager/manipulators/intern/manipulator_library/primitive_manipulator.c2
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();
}