| Index: src/gpu/GrContext.cpp
|
| diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp
|
| index d931de5ff1d84c24f45822da62bd99a43f841ab2..e62aa5d648a130db721f6f9a7ac587be9d904f20 100644
|
| --- a/src/gpu/GrContext.cpp
|
| +++ b/src/gpu/GrContext.cpp
|
| @@ -322,8 +322,8 @@ GrTexture* GrContext::createResizedTexture(const GrTextureDesc& desc,
|
| 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);
|
|
|
|
|