diff options
Diffstat (limited to 'src/gpu/gl/angle/SkANGLEGLContext.cpp')
-rw-r--r-- | src/gpu/gl/angle/SkANGLEGLContext.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gpu/gl/angle/SkANGLEGLContext.cpp b/src/gpu/gl/angle/SkANGLEGLContext.cpp index 884fe7ca11..2600ec4634 100644 --- a/src/gpu/gl/angle/SkANGLEGLContext.cpp +++ b/src/gpu/gl/angle/SkANGLEGLContext.cpp @@ -52,10 +52,7 @@ void SkANGLEGLContext::destroyGLContext() { } } -const GrGLInterface* SkANGLEGLContext::createGLContext(GrGLStandard forcedGpuAPI) { - if (kGL_GrGLStandard == forcedGpuAPI) { - return NULL; - } +const GrGLInterface* SkANGLEGLContext::createGLContext() { fDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY); |