From 8817e689265a1798b9e7a4ae2b83deacb53fe4ca Mon Sep 17 00:00:00 2001 From: "Owen W. Taylor" Date: Fri, 19 Nov 2010 14:41:44 -0500 Subject: [PATCH] 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 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/compositor/meta-background-actor.c b/src/compositor/meta-background-actor.c index d26fa8a6e..77c8e31eb 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); }