diff options
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-01-11 16:00:42 +0000 |
---|---|---|
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-01-11 16:00:42 +0000 |
commit | 337af1777a90872c5d70d0445715b846d84104d8 (patch) | |
tree | dd3b4968f880858c5ba643580be5aad7076ccb6d | |
parent | cff56083942a9784331aa2fd62ddf806cccc31cb (diff) |
fix compilation error in GrContext.cpp when PREFER_MSAA_OFFSCREEN_AA is enabled
http://codereview.appspot.com/5534068/
git-svn-id: http://skia.googlecode.com/svn/trunk@3009 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r-- | src/gpu/GrContext.cpp | 2 |
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; |