diff options
Diffstat (limited to 'cogl-pango')
-rw-r--r-- | cogl-pango/cogl-pango-render.c | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/cogl-pango/cogl-pango-render.c b/cogl-pango/cogl-pango-render.c index ff974d69..3f87b527 100644 --- a/cogl-pango/cogl-pango-render.c +++ b/cogl-pango/cogl-pango-render.c @@ -140,13 +140,15 @@ cogl_pango_renderer_draw_glyph (CoglPangoRenderer *priv, the neighbouring glyphs are coming from the same atlas and bundle them together into a single VBO */ - _cogl_texture_foreach_sub_texture_in_region (cache_value->texture, - cache_value->tx1, - cache_value->ty1, - cache_value->tx2, - cache_value->ty2, - cogl_pango_renderer_slice_cb, - &data); + cogl_meta_texture_foreach_in_region (COGL_META_TEXTURE (cache_value->texture), + cache_value->tx1, + cache_value->ty1, + cache_value->tx2, + cache_value->ty2, + COGL_PIPELINE_WRAP_MODE_REPEAT, + COGL_PIPELINE_WRAP_MODE_REPEAT, + cogl_pango_renderer_slice_cb, + &data); } static void cogl_pango_renderer_finalize (GObject *object); |