Index: tools/gpu/gl/angle/GLTestContext_angle.cpp |
diff --git a/tools/gpu/gl/angle/GLTestContext_angle.cpp b/tools/gpu/gl/angle/GLTestContext_angle.cpp |
index daa53c4e0139167c7a53c6dcaf49c1f60f7d2f60..8cc6f99c9fde814e8989c31fb5ebfdaee42e06cf 100644 |
--- a/tools/gpu/gl/angle/GLTestContext_angle.cpp |
+++ b/tools/gpu/gl/angle/GLTestContext_angle.cpp |
@@ -199,7 +199,7 @@ GrGLuint ANGLEGLContext::eglImageToExternalTexture(GrEGLImage image) const { |
if (!this->gl()->hasExtension("GL_OES_EGL_image_external")) { |
return 0; |
} |
- typedef GrGLvoid (*EGLImageTargetTexture2DProc)(GrGLenum, GrGLeglImage); |
+ typedef GrGLvoid (EGLAPIENTRY *EGLImageTargetTexture2DProc)(GrGLenum, GrGLeglImage); |
EGLImageTargetTexture2DProc glEGLImageTargetTexture2D = |
(EGLImageTargetTexture2DProc)eglGetProcAddress("glEGLImageTargetTexture2DOES"); |
if (!glEGLImageTargetTexture2D) { |