| Index: src/gpu/gl/mesa/SkMesaGLContext.cpp
|
| diff --git a/src/gpu/gl/mesa/SkMesaGLContext.cpp b/src/gpu/gl/mesa/SkMesaGLContext.cpp
|
| index 0199d12c1964e3efa067705a816a215d3e93cfa8..c9cdef7f0b6a210133ff36a8331900ddf6406429 100644
|
| --- a/src/gpu/gl/mesa/SkMesaGLContext.cpp
|
| +++ b/src/gpu/gl/mesa/SkMesaGLContext.cpp
|
| @@ -53,7 +53,11 @@ void SkMesaGLContext::destroyGLContext() {
|
|
|
| static const GrGLint gBOGUS_SIZE = 16;
|
|
|
| -const GrGLInterface* SkMesaGLContext::createGLContext() {
|
| +const GrGLInterface* SkMesaGLContext::createGLContext(GrGLStandard forcedStandard) {
|
| + if (kGLES_GrGLStandard == forcedStandard) {
|
| + return NULL;
|
| + }
|
| +
|
| /* Create an RGBA-mode context */
|
| #if OSMESA_MAJOR_VERSION * 100 + OSMESA_MINOR_VERSION >= 305
|
| /* specify Z, stencil, accum sizes */
|
|
|