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

Unified Diff: skia/BUILD.gn

Issue 1260253003: gpu: Add calling convention for win32 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: another merge Created 5 years, 4 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 | « mojo/gles2/gles2_impl.cc ('k') | skia/skia.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/BUILD.gn
diff --git a/skia/BUILD.gn b/skia/BUILD.gn
index 25515349312909d576cbab1ebf05d913f01e9bef..4b979ffed02d781775d5ce98c3d2e6644ec77bec 100644
--- a/skia/BUILD.gn
+++ b/skia/BUILD.gn
@@ -169,6 +169,10 @@ config("skia_config") {
if (is_mac) {
defines += [ "SK_BUILD_FOR_MAC" ]
}
+
+ if (is_win) {
+ defines += [ "GR_GL_FUNCTION_TYPE=__stdcall" ]
+ }
}
# Internal-facing config for Skia library code.
« no previous file with comments | « mojo/gles2/gles2_impl.cc ('k') | skia/skia.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698