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
This commit is contained in:
parent
cff5608394
commit
337af1777a
@ -809,7 +809,7 @@ void GrContext::setupOffscreenAAPass1(GrDrawTarget* target,
|
|||||||
GrDrawState* drawState = target->drawState();
|
GrDrawState* drawState = target->drawState();
|
||||||
drawState->setRenderTarget(offRT0);
|
drawState->setRenderTarget(offRT0);
|
||||||
#if PREFER_MSAA_OFFSCREEN_AA
|
#if PREFER_MSAA_OFFSCREEN_AA
|
||||||
target->enableState(GrDrawState::kHWAntialias_StateBit);
|
drawState->enableState(GrDrawState::kHWAntialias_StateBit);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
GrMatrix transM;
|
GrMatrix transM;
|
||||||
|
Loading…
Reference in New Issue
Block a user