[mutter] Use COGL_MATERIAL_WRAP_MODE_* defines not COGL_PIPELINE_*
- From: Owen Taylor <otaylor src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] Use COGL_MATERIAL_WRAP_MODE_* defines not COGL_PIPELINE_*
- Date: Fri, 19 Nov 2010 19:43:36 +0000 (UTC)
commit 8817e689265a1798b9e7a4ae2b83deacb53fe4ca
Author: Owen W. Taylor <otaylor fishsoup net>
Date: Fri Nov 19 14:41:44 2010 -0500
Use COGL_MATERIAL_WRAP_MODE_* defines not COGL_PIPELINE_*
Since we aren't depending on Clutter 1.5 or using the new
CoglPipeline name elsewhere, we need to stick to the old
COGL_MATERIAL_WRAP_MODE_* names, which are provided with
compatibility defines in Clutter 1.4.
Pointed out by Rico Tzschichholz
src/compositor/meta-background-actor.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/compositor/meta-background-actor.c b/src/compositor/meta-background-actor.c
index d26fa8a..77c8e31 100644
--- a/src/compositor/meta-background-actor.c
+++ b/src/compositor/meta-background-actor.c
@@ -68,9 +68,9 @@ update_wrap_mode (MetaBackgroundActor *self)
* side of the image via bilinear filtering.
*/
if (width == self->texture_width && height == self->texture_height)
- wrap_mode = COGL_PIPELINE_WRAP_MODE_CLAMP_TO_EDGE;
+ wrap_mode = COGL_MATERIAL_WRAP_MODE_CLAMP_TO_EDGE;
else
- wrap_mode = COGL_PIPELINE_WRAP_MODE_REPEAT;
+ wrap_mode = COGL_MATERIAL_WRAP_MODE_REPEAT;
cogl_material_set_layer_wrap_mode (self->material, 0, wrap_mode);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]