Index: gpu/gles2_conform_support/egl/egl.cc |
diff --git a/gpu/gles2_conform_support/egl/egl.cc b/gpu/gles2_conform_support/egl/egl.cc |
index f23cf76e994b719fe4c6bf7809cc7c349db4770e..35219dd81a8d15592fd8678f99d11d6bac8dff7e 100644 |
--- a/gpu/gles2_conform_support/egl/egl.cc |
+++ b/gpu/gles2_conform_support/egl/egl.cc |
@@ -399,6 +399,7 @@ EGLBoolean eglCopyBuffers(EGLDisplay dpy, |
/* Now, define eglGetProcAddress using the generic function ptr. type */ |
__eglMustCastToProperFunctionPointerType |
eglGetProcAddress(const char* procname) { |
- return gles2::GetGLFunctionPointer(procname); |
+ return (__eglMustCastToProperFunctionPointerType)gles2::GetGLFunctionPointer( |
piman
2015/07/28 18:43:16
nit: no c-style cast, use a static_cast (if possib
|
+ procname); |
} |
} // extern "C" |