diff options
author | Samuel Degrande <samuel.degrande@lifl.fr> | 2013-06-12 10:40:36 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2013-06-12 10:40:36 +0100 |
commit | 3520ac94ab1eba257c3214dcf01fc524fafdb6c2 (patch) | |
tree | a9b8e2320873930e0046f2020c1cb7d28116809e | |
parent | dbdedc727df902af823e212b320214a6d266cfe9 (diff) | |
download | clutter-3520ac94ab1eba257c3214dcf01fc524fafdb6c2.tar.gz |
deform-effect: Set cull-face mode on the correct pipeline
Fix a function call to set the cull-face mode of the back_pipeline:
the function was called on the 'front-pipeline' instead of the
back-pipeline.
-rw-r--r-- | clutter/clutter-deform-effect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clutter/clutter-deform-effect.c b/clutter/clutter-deform-effect.c index 5c302b9a3..225267249 100644 --- a/clutter/clutter-deform-effect.c +++ b/clutter/clutter-deform-effect.c @@ -299,7 +299,7 @@ clutter_deform_effect_paint_target (ClutterOffscreenEffect *effect) instead we make a temporary copy */ back_pipeline = cogl_pipeline_copy (priv->back_pipeline); cogl_pipeline_set_depth_state (back_pipeline, &depth_state, NULL); - cogl_pipeline_set_cull_face_mode (pipeline, + cogl_pipeline_set_cull_face_mode (back_pipeline, COGL_PIPELINE_CULL_FACE_MODE_FRONT); cogl_framebuffer_draw_primitive (fb, back_pipeline, priv->primitive); |