[mutter/gnome-3-8] background: Allow using sliced textures
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/gnome-3-8] background: Allow using sliced textures
- Date: Tue, 30 Jul 2013 21:22:15 +0000 (UTC)
commit efefb40e7011c49ed0c51250a9507f34c55acf56
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 fca5dce..8628484 100644
--- a/src/compositor/meta-background.c
+++ b/src/compositor/meta-background.c
@@ -891,7 +891,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]