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:
authorCampbell Barton <campbell@blender.org>2022-04-13 07:22:58 +0300
committerCampbell Barton <campbell@blender.org>2022-04-13 07:22:58 +0300
commit02de1bff1e78d0e67ac083ebad58cec6ce956403 (patch)
tree65c7fdce5a9b7445788d49f537fbe39bf202ebd6 /source/blender/blenfont/intern/blf_font.c
parent7d3db7a3ae9f3b3039e81138e3d399f1d4f9717f (diff)
Cleanup: warning for 'float' to 'int' with MSVC
Diffstat (limited to 'source/blender/blenfont/intern/blf_font.c')
-rw-r--r--source/blender/blenfont/intern/blf_font.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/blenfont/intern/blf_font.c b/source/blender/blenfont/intern/blf_font.c
index 16d4c46589d..51b65dab8fc 100644
--- a/source/blender/blenfont/intern/blf_font.c
+++ b/source/blender/blenfont/intern/blf_font.c
@@ -1210,10 +1210,10 @@ static void blf_font_fill(FontBLF *font)
font->color[2] = 0;
font->color[3] = 255;
- font->clip_rec.xmin = 0.0f;
- font->clip_rec.xmax = 0.0f;
- font->clip_rec.ymin = 0.0f;
- font->clip_rec.ymax = 0.0f;
+ font->clip_rec.xmin = 0;
+ font->clip_rec.xmax = 0;
+ font->clip_rec.ymin = 0;
+ font->clip_rec.ymax = 0;
font->flags = 0;
font->dpi = 0;
font->size = 0;