Index: src/gpu/gl/GrGLProgramDesc.cpp |
diff --git a/src/gpu/gl/GrGLProgramDesc.cpp b/src/gpu/gl/GrGLProgramDesc.cpp |
index 8d0ea3d6b370f7df36ce9a6a90cf4eb21a2df00b..d7ba287cfa623bc9050cd3b93ccdba686c5ff302 100644 |
--- a/src/gpu/gl/GrGLProgramDesc.cpp |
+++ b/src/gpu/gl/GrGLProgramDesc.cpp |
@@ -243,9 +243,9 @@ bool GrGLProgramDesc::Build(const GrDrawState& drawState, |
} |
if (readsDst) { |
- SkASSERT(NULL != dstCopy || gpu->caps()->dstReadInShaderSupport()); |
+ SkASSERT(dstCopy || gpu->caps()->dstReadInShaderSupport()); |
const GrTexture* dstCopyTexture = NULL; |
- if (NULL != dstCopy) { |
+ if (dstCopy) { |
dstCopyTexture = dstCopy->texture(); |
} |
header->fDstReadKey = GrGLFragmentShaderBuilder::KeyForDstRead(dstCopyTexture, |