Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(152)

Unified Diff: src/gpu/gl/GrGpuGL.cpp

Issue 14671017: Remove assert that is no longer valid. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698