Index: src/gpu/gl/GrGLRenderTarget.h |
diff --git a/src/gpu/gl/GrGLRenderTarget.h b/src/gpu/gl/GrGLRenderTarget.h |
index 7c0c08cdf68b9c94e673daf2b04b0811b59afdd2..32c7d4fd5e5a46488bdacb7c7a89d20030db0f6c 100644 |
--- a/src/gpu/gl/GrGLRenderTarget.h |
+++ b/src/gpu/gl/GrGLRenderTarget.h |
@@ -22,10 +22,11 @@ public: |
enum { kUnresolvableFBOID = 0 }; |
struct IDDesc { |
- GrGLuint fRTFBOID; |
- GrGLuint fTexFBOID; |
- GrGLuint fMSColorRenderbufferID; |
- GrGpuResource::LifeCycle fLifeCycle; |
+ GrGLuint fRTFBOID; |
+ GrGLuint fTexFBOID; |
+ GrGLuint fMSColorRenderbufferID; |
+ GrGpuResource::LifeCycle fLifeCycle; |
+ GrRenderTarget::SampleConfig fSampleConfig; |
}; |
GrGLRenderTarget(GrGLGpu*, const GrSurfaceDesc&, const IDDesc&); |
@@ -43,7 +44,7 @@ public: |
// override of GrRenderTarget |
ResolveType getResolveType() const override { |
- if (!this->isMultisampled() || |
+ if (!this->isUnifiedMultisampled() || |
fRTFBOID == fTexFBOID) { |
// catches FBO 0 and non MSAA case |
return kAutoResolves_ResolveType; |