diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp index a4066299ed..d4264d53a2 100644 --- a/src/gpu/GrContext.cpp +++ b/src/gpu/GrContext.cpp @@ -809,7 +809,7 @@ void GrContext::setupOffscreenAAPass1(GrDrawTarget* target, GrDrawState* drawState = target->drawState(); drawState->setRenderTarget(offRT0); #if PREFER_MSAA_OFFSCREEN_AA - target->enableState(GrDrawState::kHWAntialias_StateBit); + drawState->enableState(GrDrawState::kHWAntialias_StateBit); #endif GrMatrix transM;