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/blenfont | |
parent | a28a1f11d6fa533b9b12fba28a79bb1df74e218b (diff) |
Cleanup: Use new vector transform functions
Diffstat (limited to 'source/blender/blenfont')
-rw-r--r-- | source/blender/blenfont/intern/blf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenfont/intern/blf.c b/source/blender/blenfont/intern/blf.c index 8a48384f06f..a97187657b8 100644 --- a/source/blender/blenfont/intern/blf.c +++ b/source/blender/blenfont/intern/blf.c @@ -522,7 +522,7 @@ static void blf_draw_gl__start(FontBLF *font, GLint *mode, GLint *param) if (font->flags & BLF_MATRIX) glMultMatrixd((GLdouble *)&font->m); - glTranslatef(font->pos[0], font->pos[1], font->pos[2]); + glTranslate3fv(font->pos); if (font->flags & BLF_ASPECT) glScalef(font->aspect[0], font->aspect[1], font->aspect[2]); |