test possible 'flickering' with nvidia
authorRobin Gareus <robin@gareus.org>
Sat, 31 May 2014 16:22:34 +0000 (18:22 +0200)
committerRobin Gareus <robin@gareus.org>
Sat, 31 May 2014 16:22:34 +0000 (18:22 +0200)
libs/canvas/xfade_curve.cc

index 48af769c2c8af1d5a1d1e52b52f263d8dc0fde0b..5e68dbbb82c448f8d58145b8b408e7ec5d08fc80 100644 (file)
@@ -235,13 +235,13 @@ XFadeCurve::render (Rect const & area, Cairo::RefPtr<Cairo::Context> context) co
        context->begin_new_path ();
        context->append_path (IS ? *path_in : *path_out);
        close_path(draw, context, IS ? _in : _out, true);
-       //context->set_fill_rule (Cairo::FILL_RULE_EVEN_ODD);
+       context->set_fill_rule (Cairo::FILL_RULE_EVEN_ODD);
        context->clip ();
        context->begin_new_path ();
        context->append_path (IS ? *path_out: *path_in);
        close_path(draw, context, IS ? _out : _in, true);
        set_source_rgba (context, fill_shaded);
-       //context->set_fill_rule (Cairo::FILL_RULE_WINDING);
+       context->set_fill_rule (Cairo::FILL_RULE_WINDING);
        context->fill ();
        context->restore ();