Index: src/gpu/gl/GrGLStencilAttachment.cpp |
diff --git a/src/gpu/gl/GrGLStencilAttachment.cpp b/src/gpu/gl/GrGLStencilAttachment.cpp |
index 15e531be84cb9357659b0b547077a8a352c41e47..aa813ed50edee1fb940302ca79c29356f7f95ea5 100644 |
--- a/src/gpu/gl/GrGLStencilAttachment.cpp |
+++ b/src/gpu/gl/GrGLStencilAttachment.cpp |
@@ -19,7 +19,7 @@ size_t GrGLStencilAttachment::onGpuMemorySize() const { |
} |
void GrGLStencilAttachment::onRelease() { |
- if (0 != fRenderbufferID && this->shouldFreeResources()) { |
+ if (0 != fRenderbufferID) { |
GrGLGpu* gpuGL = (GrGLGpu*) this->getGpu(); |
const GrGLInterface* gl = gpuGL->glInterface(); |
GR_GL_CALL(gl, DeleteRenderbuffers(1, &fRenderbufferID)); |