[mutter] background: Allow using sliced textures
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] background: Allow using sliced textures
- Date: Mon, 1 Jul 2013 11:29:31 +0000 (UTC)
commit f743539886dc2d5a8a81bcc147dbc2070dd214d0
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Fri Jun 14 14:49:13 2013 -0400
background: Allow using sliced textures
https://bugzilla.gnome.org/show_bug.cgi?id=702283
src/compositor/meta-background.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/compositor/meta-background.c b/src/compositor/meta-background.c
index 35ca45c..b8e0d52 100644
--- a/src/compositor/meta-background.c
+++ b/src/compositor/meta-background.c
@@ -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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]