diff options
author | 2014-08-27 06:58:54 -0700 | |
---|---|---|
committer | 2014-08-27 06:58:54 -0700 | |
commit | 5219e57a021303444ecd7e054fd56a9efc884904 (patch) | |
tree | eb9df47e3328765640bf864c72504b67685eb106 /src/gpu | |
parent | 4473be874f70d4a8833180a7aebcc9d8a0b1de9e (diff) |
Remove skip draw check in GrContext
BUG=skia:
R=bsalomon@google.com
Author: egdaniel@google.com
Review URL: https://codereview.chromium.org/488563003
Diffstat (limited to 'src/gpu')
-rwxr-xr-x | src/gpu/GrContext.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp index 63beb7de22..3b44b7e7c0 100755 --- a/src/gpu/GrContext.cpp +++ b/src/gpu/GrContext.cpp @@ -1753,10 +1753,6 @@ GrDrawTarget* GrContext::prepareToDraw(const GrPaint* paint, GrPrintf("Partial pixel coverage will be incorrectly blended.\n"); } #endif - if (fDrawState->getBlendOpts() & GrDrawState::kSkipDraw_BlendOptFlag) { - are->set(NULL); - return NULL; - } // Clear any vertex attributes configured for the previous use of the // GrDrawState which can effect which blend optimizations are in effect. fDrawState->setDefaultVertexAttribs(); |