Index: src/gpu/gl/egl/GrGLCreateNativeInterface_egl.cpp |
diff --git a/src/gpu/gl/egl/GrGLCreateNativeInterface_egl.cpp b/src/gpu/gl/egl/GrGLCreateNativeInterface_egl.cpp |
index fef4f0276f3c04d8e8ee9d5c13b024b7ec8f84dd..703e39d097dd52c16aaaf224cab9ecff38dfc9d5 100644 |
--- a/src/gpu/gl/egl/GrGLCreateNativeInterface_egl.cpp |
+++ b/src/gpu/gl/egl/GrGLCreateNativeInterface_egl.cpp |
@@ -14,15 +14,7 @@ |
static GrGLFuncPtr egl_get_gl_proc(void* ctx, const char name[]) { |
SkASSERT(nullptr == ctx); |
- GrGLFuncPtr ptr = eglGetProcAddress(name); |
- if (!ptr) { |
- if (0 == strcmp("eglQueryString", name)) { |
- return (GrGLFuncPtr)eglQueryString; |
- } else if (0 == strcmp("eglGetCurrentDisplay", name)) { |
- return (GrGLFuncPtr)eglGetCurrentDisplay; |
- } |
- } |
- return ptr; |
+ return eglGetProcAddress(name); |
} |
const GrGLInterface* GrGLCreateNativeInterface() { |