| Index: src/gpu/gl/mesa/SkMesaGLContext.h
|
| diff --git a/src/gpu/gl/mesa/SkMesaGLContext.h b/src/gpu/gl/mesa/SkMesaGLContext.h
|
| index a9c77a81da41d0149e3f0d94a9952c18022da5fc..a58f1c890ee92cf05834f9f851524ef9e86da354 100644
|
| --- a/src/gpu/gl/mesa/SkMesaGLContext.h
|
| +++ b/src/gpu/gl/mesa/SkMesaGLContext.h
|
| @@ -19,7 +19,10 @@
|
| public:
|
| ~SkMesaGLContext() override;
|
|
|
| - static SkMesaGLContext* Create() {
|
| + static SkMesaGLContext* Create(GrGLStandard forcedGpuAPI) {
|
| + if (kGLES_GrGLStandard == forcedGpuAPI) {
|
| + return nullptr;
|
| + }
|
| SkMesaGLContext* ctx = new SkMesaGLContext;
|
| if (!ctx->isValid()) {
|
| delete ctx;
|
|
|