aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-01-11 16:00:42 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-01-11 16:00:42 +0000
commit337af1777a90872c5d70d0445715b846d84104d8 (patch)
treedd3b4968f880858c5ba643580be5aad7076ccb6d
parentcff56083942a9784331aa2fd62ddf806cccc31cb (diff)
fix compilation error in GrContext.cpp when PREFER_MSAA_OFFSCREEN_AA is enabled
-rw-r--r--src/gpu/GrContext.cpp2
1 files changed, 1 insertions, 1 deletions
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;