analysis: CoglPangoRenderer
Remove unused variables.
This commit is contained in:
parent
2d8bdf9e5e
commit
081696fdb5
@ -673,21 +673,18 @@ cogl_pango_renderer_draw_glyphs (PangoRenderer *renderer,
|
||||
gi->glyph);
|
||||
|
||||
if (cache_value == NULL)
|
||||
cogl_pango_renderer_draw_box (renderer,
|
||||
x,
|
||||
y,
|
||||
PANGO_UNKNOWN_GLYPH_WIDTH,
|
||||
PANGO_UNKNOWN_GLYPH_HEIGHT);
|
||||
{
|
||||
cogl_pango_renderer_draw_box (renderer,
|
||||
x,
|
||||
y,
|
||||
PANGO_UNKNOWN_GLYPH_WIDTH,
|
||||
PANGO_UNKNOWN_GLYPH_HEIGHT);
|
||||
}
|
||||
else
|
||||
{
|
||||
float width, height;
|
||||
|
||||
x += (float)(cache_value->draw_x);
|
||||
y += (float)(cache_value->draw_y);
|
||||
|
||||
width = x + (float)(cache_value->draw_width);
|
||||
height = y + (float)(cache_value->draw_height);
|
||||
|
||||
cogl_pango_renderer_draw_glyph (priv, cache_value, x, y);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user