| Index: src/gpu/GrContext.cpp
|
| diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp
|
| index 1d6bb32142ce09b40c6ae401ced9ebfbdbffe561..3161db28ca4f25a3cfa0fcc280572783ec297460 100644
|
| --- a/src/gpu/GrContext.cpp
|
| +++ b/src/gpu/GrContext.cpp
|
| @@ -87,6 +87,9 @@ void GrContext::initCommon(const GrContextOptions& options) {
|
| fResourceCache->setOverBudgetCallback(OverBudgetCB, this);
|
| fResourceProvider = new GrResourceProvider(fGpu, fResourceCache, &fSingleOwner);
|
|
|
| + // Must be called after the resource cache is initialized.
|
| + fGpu->initGpuResources();
|
| +
|
| fLayerCache.reset(new GrLayerCache(this));
|
|
|
| fDidTestPMConversions = false;
|
|
|