pango-render: set CLAMP_TO_EDGE wrap mode on glyph_material
authorRobert Bragg <robert@linux.intel.com>
Sat, 3 Jul 2010 18:05:04 +0000 (19:05 +0100)
committerRobert Bragg <robert@linux.intel.com>
Tue, 6 Jul 2010 11:07:29 +0000 (12:07 +0100)
commitb4b98358e191f31acb73d773fdd9a8a4b72f3292
treea8c52728bb43b184fc96365fa679d005f0160170
parent82ba7220afcb03f87606a0a8800eb067f0962724
pango-render: set CLAMP_TO_EDGE wrap mode on glyph_material

The pango renderer was causing lots of override materials to be allocated
because the vertex_buffer API converts AUTOMATIC mode into REPEAT for
backwards compatibility. By explicitly setting the wrap mode to
CLAMP_TO_EDGE when creating the glyph_material then the vertex_buffer
API will leave it untouched.
clutter/cogl/pango/cogl-pango-render.c