Index: src/gpu/SkGr.cpp |
diff --git a/src/gpu/SkGr.cpp b/src/gpu/SkGr.cpp |
index 85f36d9381f0257437034ade082937c71696b896..df65e451feacfdfac1802f197a16f6cc48d29cc8 100644 |
--- a/src/gpu/SkGr.cpp |
+++ b/src/gpu/SkGr.cpp |
@@ -212,7 +212,7 @@ |
return nullptr; |
} |
- return ctx->textureProvider()->createTexture(desc, SkBudgeted::kYes, startOfTexData, 0); |
+ return ctx->textureProvider()->createTexture(desc, true, startOfTexData, 0); |
} |
GrTexture* GrUploadBitmapToTexture(GrContext* ctx, const SkBitmap& bmp) { |
@@ -233,7 +233,7 @@ |
// our compressed data will be trimmed, so pass width() for its |
// "rowBytes", since they are the same now. |
- return ctx->textureProvider()->createTexture(desc, SkBudgeted::kYes, storage.get(), |
+ return ctx->textureProvider()->createTexture(desc, true, storage.get(), |
bitmap->width()); |
} else { |
bmp.copyTo(&tmpBitmap, kN32_SkColorType); |
@@ -265,7 +265,7 @@ |
return nullptr; |
} |
- return ctx->textureProvider()->createTexture(desc, SkBudgeted::kYes, bitmap->getPixels(), |
+ return ctx->textureProvider()->createTexture(desc, true, bitmap->getPixels(), |
bitmap->rowBytes()); |
} |