diff options
Diffstat (limited to 'src/gpu/gl/mesa')
-rw-r--r-- | src/gpu/gl/mesa/SkMesaGLContext.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gpu/gl/mesa/SkMesaGLContext.h b/src/gpu/gl/mesa/SkMesaGLContext.h index a58f1c890e..a9c77a81da 100644 --- a/src/gpu/gl/mesa/SkMesaGLContext.h +++ b/src/gpu/gl/mesa/SkMesaGLContext.h @@ -19,10 +19,7 @@ private: public: ~SkMesaGLContext() override; - static SkMesaGLContext* Create(GrGLStandard forcedGpuAPI) { - if (kGLES_GrGLStandard == forcedGpuAPI) { - return nullptr; - } + static SkMesaGLContext* Create() { SkMesaGLContext* ctx = new SkMesaGLContext; if (!ctx->isValid()) { delete ctx; |