forked from AuroraMiddleware/gtk
ngl: Use floorf consistently
This commit is contained in:
parent
1a3f2acb95
commit
fbe47106e7
@ -71,7 +71,7 @@ gboolean gsk_ngl_glyph_library_add (GskNglGlyphLibrary *self,
|
||||
static inline int
|
||||
gsk_ngl_glyph_key_phase (float value)
|
||||
{
|
||||
return floor (4 * (value + 0.125)) - 4 * floor (value + 0.125);
|
||||
return floorf (4 * (value + 0.125)) - 4 * floorf (value + 0.125);
|
||||
}
|
||||
|
||||
static inline void
|
||||
|
Loading…
Reference in New Issue
Block a user