mirror of
https://github.com/brl/mutter.git
synced 2024-11-12 17:27:03 -05:00
background: Allow using sliced textures
https://bugzilla.gnome.org/show_bug.cgi?id=702283
This commit is contained in:
parent
15e01152da
commit
f743539886
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user