Bug 583033: We should allow the function to continue for OPERATOR_CLEAR. r=jrmuizel a=blocking-betaN

This commit is contained in:
Bas Schouten 2010-07-29 21:26:32 +02:00
parent 4f403fa196
commit 97a635578c

View File

@ -2379,7 +2379,8 @@ _cairo_d2d_fill(void *surface,
op = _cairo_d2d_simplify_operator(op, source);
if (op != CAIRO_OPERATOR_OVER && op != CAIRO_OPERATOR_ADD) {
if (op != CAIRO_OPERATOR_OVER && op != CAIRO_OPERATOR_ADD &&
op != CAIRO_OPERATOR_CLEAR) {
/**
* We don't really support ADD yet. True ADD support requires getting
* the tesselated mesh from D2D, and blending that using D3D which has