diff options
Diffstat (limited to 'src/gpu/gl/GrGLRenderTarget.h')
-rw-r--r-- | src/gpu/gl/GrGLRenderTarget.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gpu/gl/GrGLRenderTarget.h b/src/gpu/gl/GrGLRenderTarget.h index 0f041600e..50e3b5ace 100644 --- a/src/gpu/gl/GrGLRenderTarget.h +++ b/src/gpu/gl/GrGLRenderTarget.h @@ -77,6 +77,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) |