[mutter] meta-background-actor: Fix compilation error
- From: Rui Matos <rtcm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] meta-background-actor: Fix compilation error
- Date: Mon, 5 Nov 2012 18:46:36 +0000 (UTC)
commit c37c74159261dbde5a20858b45a00c86649df4c0
Author: Rui Matos <tiagomatos gmail com>
Date: Mon Nov 5 19:44:03 2012 +0100
meta-background-actor: Fix compilation error
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 ea2bf38..0f5840d 100644
--- a/src/compositor/meta-background-actor.c
+++ b/src/compositor/meta-background-actor.c
@@ -659,8 +659,8 @@ meta_background_actor_add_glsl_snippet (MetaBackgroundActor *actor,
snippet = cogl_snippet_new (hook, declarations, code);
}
- if (hook == COGL_SNIPPET_HOOK_VERTEX ||
- hook == COGL_SNIPPET_HOOK_FRAGMENT)
+ if (hook == META_SNIPPET_HOOK_VERTEX ||
+ hook == META_SNIPPET_HOOK_FRAGMENT)
cogl_pipeline_add_snippet (priv->pipeline, snippet);
else
cogl_pipeline_add_layer_snippet (priv->pipeline, 0, snippet);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]