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:
authorAntony Riakiotakis <kalast@gmail.com>2013-05-12 20:52:42 +0400
committerAntony Riakiotakis <kalast@gmail.com>2013-05-12 20:52:42 +0400
commitc3b1f0fa20325aa82faef2761fc76ee76dc35cb8 (patch)
tree1e321ed36c09c747a553a280780fa4edffb0a421 /source/blender/blenfont
parentd9ca50ff6443afd79e4d1af13bc71d358d74a132 (diff)
Fix build error on MinGW64
Diffstat (limited to 'source/blender/blenfont')
-rw-r--r--source/blender/blenfont/intern/blf_font.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenfont/intern/blf_font.c b/source/blender/blenfont/intern/blf_font.c
index 3a327d6c794..f346478889b 100644
--- a/source/blender/blenfont/intern/blf_font.c
+++ b/source/blender/blenfont/intern/blf_font.c
@@ -80,7 +80,7 @@ void blf_font_size(FontBLF *font, unsigned int size, unsigned int dpi)
GlyphCacheBLF *gc;
FT_Error err;
- err = FT_Set_Char_Size(font->face, 0, (size * 64), dpi, dpi);
+ err = FT_Set_Char_Size(font->face, 0, (FT_F26Dot6)(size * 64), dpi, dpi);
if (err) {
/* FIXME: here we can go through the fixed size and choice a close one */
printf("The current font don't support the size, %d and dpi, %d\n", size, dpi);