| Index: src/gpu/GrOptDrawState.cpp
|
| diff --git a/src/gpu/GrOptDrawState.cpp b/src/gpu/GrOptDrawState.cpp
|
| index a494b171de3a77e652191d0abf153ff548cd5586..c8180c8bafc05a2c1f7eb89d3c0c24af536b7ae9 100644
|
| --- a/src/gpu/GrOptDrawState.cpp
|
| +++ b/src/gpu/GrOptDrawState.cpp
|
| @@ -106,6 +106,11 @@ GrOptDrawState::GrOptDrawState(const GrDrawState& drawState,
|
| drawState.hasGeometryProcessor());
|
| fGeometryProcessor.reset(drawState.getGeometryProcessor());
|
|
|
| + // Create XferProcessor from DS's XPFactory
|
| + const GrXferProcessor* xpProcessor = drawState.getXPFactory()->createXferProcessor();
|
| + fXferProcessor.reset(xpProcessor);
|
| + xpProcessor->unref();
|
| +
|
| // Copy Stages from DS to ODS
|
| bool explicitLocalCoords = descInfo.hasLocalCoordAttribute();
|
|
|
|
|