From 76fb468319ab1c5c4942d9de6d92075ddc22c54d Mon Sep 17 00:00:00 2001 From: Samuel Degrande Date: Wed, 12 Jun 2013 10:40:36 +0100 Subject: [PATCH] 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. https://bugzilla.gnome.org/show_bug.cgi?id=701208 --- clutter/clutter-deform-effect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clutter/clutter-deform-effect.c b/clutter/clutter-deform-effect.c index a7ab5cb01..655117d77 100644 --- a/clutter/clutter-deform-effect.c +++ b/clutter/clutter-deform-effect.c @@ -305,7 +305,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);