diff options
author | Julian Eisel <eiseljulian@gmail.com> | 2015-09-20 19:11:25 +0300 |
---|---|---|
committer | Julian Eisel <eiseljulian@gmail.com> | 2015-09-20 19:11:25 +0300 |
commit | 28da385ac2174856176b633846de6267fb5a96e1 (patch) | |
tree | 110b37d18d4467bcb48c3918220b641b0afb8e84 /source/blender/editors/gpencil/drawgpencil.c | |
parent | a28a1f11d6fa533b9b12fba28a79bb1df74e218b (diff) |
Cleanup: Use new vector transform functions
Diffstat (limited to 'source/blender/editors/gpencil/drawgpencil.c')
-rw-r--r-- | source/blender/editors/gpencil/drawgpencil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/gpencil/drawgpencil.c b/source/blender/editors/gpencil/drawgpencil.c index ff8984ae329..6b71c0ac053 100644 --- a/source/blender/editors/gpencil/drawgpencil.c +++ b/source/blender/editors/gpencil/drawgpencil.c @@ -398,7 +398,7 @@ static void gp_draw_stroke_point(bGPDspoint *points, short thickness, short dfla gluQuadricDrawStyle(qobj, GLU_FILL); /* need to translate drawing position, but must reset after too! */ - glTranslatef(co[0], co[1], 0.0); + glTranslate2fv(co); gluDisk(qobj, 0.0, thickness, 32, 1); glTranslatef(-co[0], -co[1], 0.0); |