mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 16:10:41 -05:00
meta-background-actor: Fix compilation error
This commit is contained in:
parent
4cf461fffa
commit
c37c741592
@ -659,8 +659,8 @@ meta_background_actor_add_glsl_snippet (MetaBackgroundActor *actor,
|
|||||||
snippet = cogl_snippet_new (hook, declarations, code);
|
snippet = cogl_snippet_new (hook, declarations, code);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (hook == COGL_SNIPPET_HOOK_VERTEX ||
|
if (hook == META_SNIPPET_HOOK_VERTEX ||
|
||||||
hook == COGL_SNIPPET_HOOK_FRAGMENT)
|
hook == META_SNIPPET_HOOK_FRAGMENT)
|
||||||
cogl_pipeline_add_snippet (priv->pipeline, snippet);
|
cogl_pipeline_add_snippet (priv->pipeline, snippet);
|
||||||
else
|
else
|
||||||
cogl_pipeline_add_layer_snippet (priv->pipeline, 0, snippet);
|
cogl_pipeline_add_layer_snippet (priv->pipeline, 0, snippet);
|
||||||
|
Loading…
Reference in New Issue
Block a user