Commit a65a4c7b by Geoff Lang

Fix preprocessor failure in string concatenation.

BUG=angleproject:1138 Change-Id: I20f3b542884fbaa2b2cccd65ceb45e54174bccc2 Reviewed-on: https://chromium-review.googlesource.com/295831Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org> Tested-by: 's avatarGeoff Lang <geofflang@chromium.org>
parent e453dd31
...@@ -1127,7 +1127,7 @@ __eglMustCastToProperFunctionPointerType EGLAPIENTRY GetProcAddress(const char * ...@@ -1127,7 +1127,7 @@ __eglMustCastToProperFunctionPointerType EGLAPIENTRY GetProcAddress(const char *
{ {
ProcAddressMap map; ProcAddressMap map;
#define INSERT_PROC_ADDRESS(ns, proc) \ #define INSERT_PROC_ADDRESS(ns, proc) \
map[#ns## #proc] = reinterpret_cast<__eglMustCastToProperFunctionPointerType>(ns::proc) map[#ns #proc] = reinterpret_cast<__eglMustCastToProperFunctionPointerType>(ns::proc)
// GLES2 core // GLES2 core
INSERT_PROC_ADDRESS(gl, ActiveTexture); INSERT_PROC_ADDRESS(gl, ActiveTexture);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment