Index: src/gpu/gl/angle/SkANGLEGLContext.cpp |
diff --git a/src/gpu/gl/angle/SkANGLEGLContext.cpp b/src/gpu/gl/angle/SkANGLEGLContext.cpp |
index 0e37a7e1f6bfe5b42f35a82573dfb0e81cb7d3f2..a6b4e8670cb540da6788eeb45d2e121074fc2444 100644 |
--- a/src/gpu/gl/angle/SkANGLEGLContext.cpp |
+++ b/src/gpu/gl/angle/SkANGLEGLContext.cpp |
@@ -156,8 +156,10 @@ GrGLuint SkANGLEGLContext::eglImageToExternalTexture(GrEGLImage image) const { |
if (!this->gl()->hasExtension("GL_OES_EGL_image_external")) { |
return 0; |
} |
- GrGLEGLImageTargetTexture2DProc glEGLImageTargetTexture2D = |
- (GrGLEGLImageTargetTexture2DProc)eglGetProcAddress("glEGLImageTargetTexture2DOES"); |
+ typedef GrGLvoid (*EGLImageTargetTexture2DProc)(GrGLenum, GrGLeglImage); |
+ |
+ EGLImageTargetTexture2DProc glEGLImageTargetTexture2D = |
+ (EGLImageTargetTexture2DProc)eglGetProcAddress("glEGLImageTargetTexture2DOES"); |
if (!glEGLImageTargetTexture2D) { |
return 0; |
} |