diff options
Diffstat (limited to 'src/gpu/gl/GrGLTexture.cpp')
-rw-r--r-- | src/gpu/gl/GrGLTexture.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/gl/GrGLTexture.cpp b/src/gpu/gl/GrGLTexture.cpp index bc013bc0ec..202fc426ba 100644 --- a/src/gpu/gl/GrGLTexture.cpp +++ b/src/gpu/gl/GrGLTexture.cpp @@ -24,7 +24,7 @@ void GrGLTexture::init(GrGpuGL* gpu, textureDesc.fTextureID, textureDesc.fIsWrapped))); - if (NULL != rtDesc) { + if (rtDesc) { GrGLIRect vp; vp.fLeft = 0; vp.fWidth = textureDesc.fWidth; @@ -55,7 +55,7 @@ void GrGLTexture::onRelease() { } void GrGLTexture::onAbandon() { - if (NULL != fTexIDObj.get()) { + if (fTexIDObj.get()) { fTexIDObj->abandon(); fTexIDObj.reset(NULL); } |