| Index: src/gpu/GrContext.cpp
|
| diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp
|
| index a9beabb537cdf2613f1d3d5f808b1e86e3ef94e6..d5506e34cf409cb300ff53323e9ecc103fa471a4 100755
|
| --- a/src/gpu/GrContext.cpp
|
| +++ b/src/gpu/GrContext.cpp
|
| @@ -144,7 +144,6 @@ GrContext::GrContext() : fUniqueID(next_id()) {
|
| fSoftwarePathRenderer = NULL;
|
| fBatchFontCache = NULL;
|
| fFlushToReduceCacheSize = false;
|
| - fMaxTextureSizeOverride = 1 << 20;
|
| }
|
|
|
| bool GrContext::init(GrBackend backend, GrBackendContext backendContext,
|
| @@ -293,7 +292,7 @@ void GrContext::TextBlobCacheOverBudgetCB(void* data) {
|
| }
|
|
|
| int GrContext::getMaxTextureSize() const {
|
| - return SkTMin(fGpu->caps()->maxTextureSize(), fMaxTextureSizeOverride);
|
| + return fGpu->caps()->maxTextureSize();
|
| }
|
|
|
| int GrContext::getMaxRenderTargetSize() const {
|
|
|