Bug 896670 - Don't release SkiaGL render target after creating POT texture r=gwright

This commit is contained in:
James Willcox 2013-08-06 22:28:47 -04:00
parent eb5d7c6f13
commit 8ae4ae4db0

View File

@ -373,7 +373,6 @@ GrTexture* GrContext::createResizedTexture(const GrTextureDesc& desc,
verts[1].setIRectFan(0, 0, 1, 1, 2 * sizeof(GrPoint));
fGpu->drawNonIndexed(kTriangleFan_GrPrimitiveType, 0, 4);
}
texture->releaseRenderTarget();
} else {
// TODO: Our CPU stretch doesn't filter. But we create separate
// stretched textures when the texture params is either filtered or