diff --git a/gyp/common_conditions.gypi b/gyp/common_conditions.gypi index 92113e3ba4..6ccaa462b5 100644 --- a/gyp/common_conditions.gypi +++ b/gyp/common_conditions.gypi @@ -9,6 +9,7 @@ 'SK_BUILD_FOR_WIN32', 'SK_IGNORE_STDINT_DOT_H', '_CRT_SECURE_NO_WARNINGS', + 'GR_GL_FUNCTION_TYPE=__stdcall', ], 'msvs_cygwin_shell': 0, 'msvs_settings': { diff --git a/gyp/gpu.gyp b/gyp/gpu.gyp index 2874054bd3..cabd331488 100644 --- a/gyp/gpu.gyp +++ b/gyp/gpu.gyp @@ -44,7 +44,6 @@ [ 'skia_os == "win"', { 'defines': [ 'GR_WIN32_BUILD=1', - 'GR_GL_FUNCTION_TYPE=__stdcall', ], }], ],