Change-Id: Ie546d41b0205c7bd963a56af209652fd41fbe3ca
Reviewed-on: https://swiftshader-review.googlesource.com/9128
Tested-by: Nicolas Capens <capn@google.com>
Reviewed-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
defines += [ "LOG_TAG=\"swiftshader_libEGL\"" ]
if (is_linux) {
- defines += [ "GL_APICALL=__attribute__((visibility(\"protected\")))" ]
+ defines += [ "EGLAPI=__attribute__((visibility(\"protected\")))" ]
} else {
- defines += [ "GL_APICALL=__attribute__((visibility(\"default\")))" ]
+ defines += [ "EGLAPI=__attribute__((visibility(\"default\")))" ]
}
}
}
]
if (is_linux) {
- defines += [ "GL_APICALL=" ]
+ defines += [ "GL_APICALL=__attribute__((visibility(\"protected\")))" ]
} else {
defines += [ "GL_APICALL=__attribute__((visibility(\"default\")))" ]
}