Index: src/gpu/gl/GrGLStencilBuffer.h |
diff --git a/src/gpu/gl/GrGLStencilBuffer.h b/src/gpu/gl/GrGLStencilBuffer.h |
index 1cb0a3301ab8bbd511dad6b374204460b06e45b3..024890ddd7ba30b433d3de39358d656c5da28301 100644 |
--- a/src/gpu/gl/GrGLStencilBuffer.h |
+++ b/src/gpu/gl/GrGLStencilBuffer.h |
@@ -32,6 +32,7 @@ public: |
: GrStencilBuffer(gpu, isWrapped, width, height, format.fStencilBits, sampleCnt) |
, fFormat(format) |
, fRenderbufferID(rbid) { |
+ this->registerWithCache(); |
} |
virtual ~GrGLStencilBuffer(); |