diff options
Diffstat (limited to 'src/gpu/GrTextureContext.cpp')
-rw-r--r-- | src/gpu/GrTextureContext.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gpu/GrTextureContext.cpp b/src/gpu/GrTextureContext.cpp index aa84e59a4a..c5b3203636 100644 --- a/src/gpu/GrTextureContext.cpp +++ b/src/gpu/GrTextureContext.cpp @@ -23,9 +23,10 @@ GrTextureContext::GrTextureContext(GrContext* context, sk_sp<SkColorSpace> colorSpace, GrAuditTrail* auditTrail, GrSingleOwner* singleOwner) - : GrSurfaceContext(context, drawingMgr, std::move(colorSpace), auditTrail, singleOwner) - , fTextureProxy(std::move(textureProxy)) - , fOpList(sk_ref_sp(fTextureProxy->getLastTextureOpList())) { + : GrSurfaceContext(context, drawingMgr, textureProxy->config(), std::move(colorSpace), + auditTrail, singleOwner) + , fTextureProxy(std::move(textureProxy)) + , fOpList(sk_ref_sp(fTextureProxy->getLastTextureOpList())) { SkDEBUGCODE(this->validate();) } |