diff --git a/cogl/cogl-clip-stack.c b/cogl/cogl-clip-stack.c index 9df51e6dc..db9560c89 100644 --- a/cogl/cogl-clip-stack.c +++ b/cogl/cogl-clip-stack.c @@ -603,7 +603,8 @@ _cogl_clip_stack_flush (CoglClipStack *stack, has_clip_planes = cogl_features_available (COGL_FEATURE_FOUR_CLIP_PLANES); - disable_clip_planes (); + if (has_clip_planes) + disable_clip_planes (); disable_stencil_buffer (); /* If the stack is empty then there's nothing else to do */