1
0
Fork 0

analysis: CoglPangoRenderer

Remove unused variables.
This commit is contained in:
Emmanuele Bassi 2010-02-11 15:24:17 +00:00
parent fbe9e80a07
commit 6e32d0afda

View file

@ -673,21 +673,18 @@ cogl_pango_renderer_draw_glyphs (PangoRenderer *renderer,
gi->glyph); gi->glyph);
if (cache_value == NULL) if (cache_value == NULL)
cogl_pango_renderer_draw_box (renderer, {
x, cogl_pango_renderer_draw_box (renderer,
y, x,
PANGO_UNKNOWN_GLYPH_WIDTH, y,
PANGO_UNKNOWN_GLYPH_HEIGHT); PANGO_UNKNOWN_GLYPH_WIDTH,
PANGO_UNKNOWN_GLYPH_HEIGHT);
}
else else
{ {
float width, height;
x += (float)(cache_value->draw_x); x += (float)(cache_value->draw_x);
y += (float)(cache_value->draw_y); 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); cogl_pango_renderer_draw_glyph (priv, cache_value, x, y);
} }
} }