st/mesa: add support for advanced blend when fb can be fetched from
[mesa.git] / src / mesa / state_tracker / st_atom_blend.c
index b8d65bde29ebf48ace9f6835932924a453604952..f76cfab943795554ccc833dc971e6b9269e5b242 100644 (file)
@@ -205,7 +205,7 @@ update_blend( struct st_context *st )
       blend->logicop_enable = 1;
       blend->logicop_func = translate_logicop(ctx->Color.LogicOp);
    }
-   else if (ctx->Color.BlendEnabled) {
+   else if (ctx->Color.BlendEnabled && !ctx->Color._AdvancedBlendMode) {
       /* blending enabled */
       for (i = 0, j = 0; i < num_state; i++) {