| Index: src/gpu/gl/GrGLGpu.cpp
|
| diff --git a/src/gpu/gl/GrGLGpu.cpp b/src/gpu/gl/GrGLGpu.cpp
|
| index 51145c89883e99836fc4c50b30fa8095bbd4755d..5eac42028eaa86441b54a85571c825846f7cf851 100644
|
| --- a/src/gpu/gl/GrGLGpu.cpp
|
| +++ b/src/gpu/gl/GrGLGpu.cpp
|
| @@ -454,6 +454,11 @@ GrTexture* GrGLGpu::onWrapBackendTexture(const GrBackendTextureDesc& desc,
|
| return nullptr;
|
| }
|
| }
|
| + // Sample count is interpretted to mean the number of samples that Gr code should allocate
|
| + // for a render buffer that resolves to the texture. We don't support MSAA textures.
|
| + if (desc.fSampleCnt && !renderTarget) {
|
| + return nullptr;
|
| + }
|
|
|
| switch (ownership) {
|
| case kAdopt_GrWrapOwnership:
|
|
|