FIx copy/paste mistake in own previous commit.

This commit is contained in:
Bastien Montagne 2017-04-11 14:30:23 +02:00
parent 85f81293c4
commit b8c4be0844
1 changed files with 1 additions and 1 deletions

View File

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