Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3510)

Unified Diff: gpu/gles2_conform_support/egl/egl.cc

Issue 1260253003: gpu: Add calling convention for win32 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gpu/command_buffer/client/gles2_lib.h ('k') | third_party/khronos/KHR/khrplatform.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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"
« no previous file with comments | « gpu/command_buffer/client/gles2_lib.h ('k') | third_party/khronos/KHR/khrplatform.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698