background: Allow using sliced textures

https://bugzilla.gnome.org/show_bug.cgi?id=702283
This commit is contained in:
Jasper St. Pierre 2013-06-14 14:49:13 -04:00 committed by Ray Strode
parent 15e01152da
commit f743539886

View File

@ -893,7 +893,7 @@ meta_background_load_gradient (MetaBackground *self,
pixels[7] = second_color->alpha;
texture = cogl_texture_new_from_data (width, height,
COGL_TEXTURE_NO_SLICING,
COGL_TEXTURE_NONE,
COGL_PIXEL_FORMAT_RGBA_8888,
COGL_PIXEL_FORMAT_ANY,
4,