diff options
Diffstat (limited to 'src/gpu/GrTextureRenderTargetProxy.cpp')
-rw-r--r-- | src/gpu/GrTextureRenderTargetProxy.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gpu/GrTextureRenderTargetProxy.cpp b/src/gpu/GrTextureRenderTargetProxy.cpp index dfc3d13432..95d5543bbf 100644 --- a/src/gpu/GrTextureRenderTargetProxy.cpp +++ b/src/gpu/GrTextureRenderTargetProxy.cpp @@ -125,10 +125,8 @@ void GrTextureRenderTargetProxy::onValidateSurface(const GrSurface* surface) { GrInternalSurfaceFlags surfaceFlags = surface->surfacePriv().flags(); SkASSERT((proxyFlags & GrInternalSurfaceFlags::kTextureMask) == (surfaceFlags & GrInternalSurfaceFlags::kTextureMask)); - // DDL TODO: re-enable this after skbug.com/7748 (Add FBO-0-ness to SkSurfaceCharacterization) - // is fixed. - // SkASSERT((proxyFlags & GrInternalSurfaceFlags::kRenderTargetMask) == - // (surfaceFlags & GrInternalSurfaceFlags::kRenderTargetMask)); + SkASSERT((proxyFlags & GrInternalSurfaceFlags::kRenderTargetMask) == + (surfaceFlags & GrInternalSurfaceFlags::kRenderTargetMask)); } #endif |