Index: include/gpu/gl/GrGLConfig.h |
diff --git a/include/gpu/gl/GrGLConfig.h b/include/gpu/gl/GrGLConfig.h |
index 82963a75200764b06cf46c41c78d0bb9b312f705..20ee37fe30860843f9daafc28f38366eb25de3fe 100644 |
--- a/include/gpu/gl/GrGLConfig.h |
+++ b/include/gpu/gl/GrGLConfig.h |
@@ -21,7 +21,11 @@ |
#endif |
#if !defined(GR_GL_FUNCTION_TYPE) |
- #define GR_GL_FUNCTION_TYPE |
+ #if defined(SK_BUILD_FOR_WIN32) |
+ #define GR_GL_FUNCTION_TYPE __stdcall |
+ #else |
+ #define GR_GL_FUNCTION_TYPE |
+ #endif |
#endif |
/** |