aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party
diff options
context:
space:
mode:
Diffstat (limited to 'third_party')
-rw-r--r--third_party/angle2/BUILD.gn2
1 files changed, 2 insertions, 0 deletions
diff --git a/third_party/angle2/BUILD.gn b/third_party/angle2/BUILD.gn
index cb780c238d..114a7e8055 100644
--- a/third_party/angle2/BUILD.gn
+++ b/third_party/angle2/BUILD.gn
@@ -50,6 +50,7 @@ config("common") {
defines += [
"ANGLE_USE_X11",
"GL_APICALL=__attribute__((visibility(\"default\")))",
+ "GL_API=__attribute__((visibility(\"default\")))",
"EGLAPI=__attribute__((visibility(\"default\")))",
]
cflags_cc += [ "-std=c++14" ]
@@ -58,6 +59,7 @@ config("common") {
"ANGLE_ENABLE_D3D11",
"ANGLE_ENABLE_D3D9",
"GL_APICALL=",
+ "GL_API=",
"EGLAPI=",
]