[gtk/wip/chergert/glproto: 440/526] use floorf
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/chergert/glproto: 440/526] use floorf
- Date: Tue, 16 Feb 2021 01:14:37 +0000 (UTC)
commit 1d33afb66a731721e785a1b013b16cd1b73f3499
Author: Christian Hergert <chergert redhat com>
Date: Wed Feb 3 19:00:50 2021 -0800
use floorf
gsk/next/gskglrenderjob.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gsk/next/gskglrenderjob.c b/gsk/next/gskglrenderjob.c
index 0959e0a6fb..0e5dbabe23 100644
--- a/gsk/next/gskglrenderjob.c
+++ b/gsk/next/gskglrenderjob.c
@@ -2623,8 +2623,8 @@ gsk_gl_render_job_visit_text_node (GskGLRenderJob *job,
tx2 = glyph->entry.area.x2;
ty2 = glyph->entry.area.y2;
- glyph_x = floor (x + cx + 0.125) + glyph->ink_rect.x;
- glyph_y = floor (y + cy + 0.125) + glyph->ink_rect.y;
+ glyph_x = floorf (x + cx + 0.125) + glyph->ink_rect.x;
+ glyph_y = floorf (y + cy + 0.125) + glyph->ink_rect.y;
glyph_x2 = glyph_x + glyph->ink_rect.width;
glyph_y2 = glyph_y + glyph->ink_rect.height;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]