diff options
Diffstat (limited to 'src/gpu/gl/angle')
-rw-r--r-- | src/gpu/gl/angle/SkANGLEGLContext.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gpu/gl/angle/SkANGLEGLContext.cpp b/src/gpu/gl/angle/SkANGLEGLContext.cpp index 2600ec4634..884fe7ca11 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 forcedGpuAPI) { + if (kGL_GrGLStandard == forcedGpuAPI) { + return NULL; + } fDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY); |