Index: src/gpu/gl/GrGLRenderTarget.h |
diff --git a/src/gpu/gl/GrGLRenderTarget.h b/src/gpu/gl/GrGLRenderTarget.h |
index fd149b11857be218165c866cdd67af4b0c81be20..e66475d92ca6bd50c205217aa2491e53dc35a2cc 100644 |
--- a/src/gpu/gl/GrGLRenderTarget.h |
+++ b/src/gpu/gl/GrGLRenderTarget.h |
@@ -76,6 +76,10 @@ private: |
GrGLuint fTexFBOID; |
GrGLuint fMSColorRenderbufferID; |
+ // We track this separately from GrGpuResource because this may be both a texture and a render |
+ // target, and the texture may be wrapped while the render target is not. |
+ bool fIsWrapped; |
+ |
// when we switch to this render target we want to set the viewport to |
// only render to content area (as opposed to the whole allocation) and |
// we want the rendering to be at top left (GL has origin in bottom left) |