mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 19:42:05 +00:00
Remove stray fixed point macro usage
The CoglPango renderer is using a CLUTTER_FIXED macro, but the whole code has been Clutter-free for a while, now.
This commit is contained in:
parent
62ac234ca9
commit
64db7896db
@ -81,8 +81,8 @@ cogl_pango_renderer_glyphs_end (CoglPangoRenderer *priv)
|
||||
static void
|
||||
cogl_pango_renderer_draw_glyph (CoglPangoRenderer *priv,
|
||||
CoglPangoGlyphCacheValue *cache_value,
|
||||
float x1,
|
||||
float y1)
|
||||
float x1,
|
||||
float y1)
|
||||
{
|
||||
float x2, y2;
|
||||
float *p;
|
||||
@ -93,8 +93,8 @@ cogl_pango_renderer_draw_glyph (CoglPangoRenderer *priv,
|
||||
|
||||
priv->glyph_texture = cache_value->texture;
|
||||
|
||||
x2 = x1 + CLUTTER_INT_TO_FIXED (cache_value->draw_width);
|
||||
y2 = y1 + CLUTTER_INT_TO_FIXED (cache_value->draw_height);
|
||||
x2 = x1 + (float) cache_value->draw_width;
|
||||
y2 = y1 + (float) cache_value->draw_height;
|
||||
|
||||
g_array_set_size (priv->glyph_rectangles, priv->glyph_rectangles->len + 8);
|
||||
p = &g_array_index (priv->glyph_rectangles, float,
|
||||
|
Loading…
Reference in New Issue
Block a user