Attempt to remove 64 bit min size for NPOT resized texture.
R=robertphillips@google.com
Author: bsalomon@google.com
Review URL: https://chromiumcodereview.appspot.com/24123003
git-svn-id: http://skia.googlecode.com/svn/trunk/src@11356 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gpu/GrContext.cpp b/gpu/GrContext.cpp
index d931de5..e62aa5d 100644
--- a/gpu/GrContext.cpp
+++ b/gpu/GrContext.cpp
@@ -322,8 +322,8 @@
rtDesc.fFlags = rtDesc.fFlags |
kRenderTarget_GrTextureFlagBit |
kNoStencil_GrTextureFlagBit;
- rtDesc.fWidth = GrNextPow2(GrMax(desc.fWidth, 64));
- rtDesc.fHeight = GrNextPow2(GrMax(desc.fHeight, 64));
+ rtDesc.fWidth = GrNextPow2(desc.fWidth);
+ rtDesc.fHeight = GrNextPow2(desc.fHeight);
GrTexture* texture = fGpu->createTexture(rtDesc, NULL, 0);