Index: src/gpu/gl/GrGpuGL.cpp |
diff --git a/src/gpu/gl/GrGpuGL.cpp b/src/gpu/gl/GrGpuGL.cpp |
index fb27e47c5642160720965da034483e487dce760d..035ef3bb1bf43c99d5d80552cf16c1bc317d959c 100644 |
--- a/src/gpu/gl/GrGpuGL.cpp |
+++ b/src/gpu/gl/GrGpuGL.cpp |
@@ -478,10 +478,6 @@ GrRenderTarget* GrGpuGL::onWrapBackendRenderTarget(const GrBackendRenderTargetDe |
glDesc.fTexFBOID = GrGLRenderTarget::kUnresolvableFBOID; |
glDesc.fSampleCnt = desc.fSampleCnt; |
glDesc.fIsWrapped = true; |
robertphillips
2013/05/14 19:22:15
I don't think we should delete the copy of 'fOrigi
bsalomon
2013/05/14 19:34:56
take a look at the next line:
glDesc.fOrigin = res
|
- glDesc.fOrigin = desc.fOrigin; |
- if (glDesc.fRTFBOID == 0) { |
- GrAssert(desc.fOrigin == kBottomLeft_GrSurfaceOrigin); |
- } |
glDesc.fOrigin = resolve_origin(desc.fOrigin, true); |
GrGLIRect viewport; |