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
diff options
context:
space:
mode:
authorMike Erwin <significant.bit@gmail.com>2015-12-14 05:19:45 +0300
committerMike Erwin <significant.bit@gmail.com>2015-12-15 06:28:12 +0300
commit87fac9a81623d4856e5325718501423abfbcbbe5 (patch)
treeee27d9e847d5038e31c318a9618a161c0966f4ae /source/blender/blenfont/intern/blf.c
parent17a16b57df2d6e45c2f9e0d937c7baf8a386764b (diff)
use float (not double) for font matrix
Following up on recent double --> float commits in the game engine.
Diffstat (limited to 'source/blender/blenfont/intern/blf.c')
-rw-r--r--source/blender/blenfont/intern/blf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenfont/intern/blf.c b/source/blender/blenfont/intern/blf.c
index 6c3fd090d4a..a387b26ec3e 100644
--- a/source/blender/blenfont/intern/blf.c
+++ b/source/blender/blenfont/intern/blf.c
@@ -384,7 +384,7 @@ void BLF_aspect(int fontid, float x, float y, float z)
}
}
-void BLF_matrix(int fontid, const double m[16])
+void BLF_matrix(int fontid, const float m[16])
{
FontBLF *font = blf_get(fontid);
@@ -511,7 +511,7 @@ static void blf_draw_gl__start(FontBLF *font, GLint *mode)
glPushMatrix();
if (font->flags & BLF_MATRIX)
- glMultMatrixd((GLdouble *)&font->m);
+ glMultMatrixf(font->m);
glTranslate3fv(font->pos);