diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2017-04-11 15:30:23 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2017-04-11 16:19:00 +0300 |
commit | b8c4be0844272fa2b9e10cdf9193e9988a0deacc (patch) | |
tree | 1be96ec0a44d0630ca24f51b91b6cc533a4a4ebd /source/blender/windowmanager/manipulators/intern | |
parent | 85f81293c4463c6fb9fd5082024f39cefde509c8 (diff) |
FIx copy/paste mistake in own previous commit.
Diffstat (limited to 'source/blender/windowmanager/manipulators/intern')
-rw-r--r-- | source/blender/windowmanager/manipulators/intern/manipulator_library/arrow2d_manipulator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/manipulators/intern/manipulator_library/arrow2d_manipulator.c b/source/blender/windowmanager/manipulators/intern/manipulator_library/arrow2d_manipulator.c index a12617ba94f..ad5f2f6251b 100644 --- a/source/blender/windowmanager/manipulators/intern/manipulator_library/arrow2d_manipulator.c +++ b/source/blender/windowmanager/manipulators/intern/manipulator_library/arrow2d_manipulator.c @@ -77,7 +77,7 @@ static void arrow2d_draw_geom(ArrowManipulator2D *arrow, const float origin[2], const float len = arrow->line_len; const float draw_line_ofs = (arrow->manipulator.line_width * 0.5f) / arrow->manipulator.scale; - unsigned int pos = VertexFormat_add_attrib(immVertexFormat(), "pos", COMP_F32, 3, KEEP_FLOAT); + unsigned int pos = VertexFormat_add_attrib(immVertexFormat(), "pos", COMP_F32, 2, KEEP_FLOAT); gpuPushMatrix(); gpuTranslate2fv(origin); |