mirror of
https://github.com/brl/mutter.git
synced 2025-02-19 14:44:10 +00:00
background: Allow using sliced textures
https://bugzilla.gnome.org/show_bug.cgi?id=702283
This commit is contained in:
parent
ca4e1fd4c9
commit
efefb40e70
@ -891,7 +891,7 @@ meta_background_load_gradient (MetaBackground *self,
|
|||||||
pixels[7] = second_color->alpha;
|
pixels[7] = second_color->alpha;
|
||||||
|
|
||||||
texture = cogl_texture_new_from_data (width, height,
|
texture = cogl_texture_new_from_data (width, height,
|
||||||
COGL_TEXTURE_NO_SLICING,
|
COGL_TEXTURE_NONE,
|
||||||
COGL_PIXEL_FORMAT_RGBA_8888,
|
COGL_PIXEL_FORMAT_RGBA_8888,
|
||||||
COGL_PIXEL_FORMAT_ANY,
|
COGL_PIXEL_FORMAT_ANY,
|
||||||
4,
|
4,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user