Index: src/gpu/gl/angle/SkANGLEGLContext.cpp |
diff --git a/src/gpu/gl/angle/SkANGLEGLContext.cpp b/src/gpu/gl/angle/SkANGLEGLContext.cpp |
index 2600ec46347366cf0043fa41d6051b6fb9923229..79a6c502440a45c64f20a534b7836d9a9ffed86f 100644 |
--- a/src/gpu/gl/angle/SkANGLEGLContext.cpp |
+++ b/src/gpu/gl/angle/SkANGLEGLContext.cpp |
@@ -52,7 +52,10 @@ void SkANGLEGLContext::destroyGLContext() { |
} |
} |
-const GrGLInterface* SkANGLEGLContext::createGLContext() { |
+const GrGLInterface* SkANGLEGLContext::createGLContext(GrGLStandard forcedStandard) { |
+ if (kGL_GrGLStandard == forcedStandard) { |
+ return NULL; |
+ } |
fDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY); |