commit | e93905e4f250bfc499f7e6355a368e734e201e4e | [log] [tgz] |
---|---|---|
author | Matt Wachowski <mattwach@google.com> | Wed Aug 15 16:30:35 2018 -0700 |
committer | Matt Wachowski <mattwach@google.com> | Wed Aug 15 16:34:56 2018 -0700 |
tree | 9e8844d083fa66fed797c526e654f8bc17cae718 | |
parent | b79f8897472251589814b4690367a50e6ca20096 [diff] |
Partially revert ag/4742391. Needed to fix https://android-build.googleplex.com/builds/quarterdeck?branch=git_ics-mr1-emu-dev&target=sdk_x86-sdk&lkgb=4951371&fkbb=4954575 It appears that some compiler setups do not accept the C99 syntax Bug: b/80194417 Test: Recompile Change-Id: Ica21f2dc24a526358e9ae904fba55e1aa84bc6c8
diff --git a/system/egl/egl.cpp b/system/egl/egl.cpp index 6480736..e52c5bd 100644 --- a/system/egl/egl.cpp +++ b/system/egl/egl.cpp
@@ -818,9 +818,10 @@ // ---------------------------------------------------------------------------- +// Note: C99 syntax was tried here but does not work for all compilers. static EGLClient_eglInterface s_eglIface = { - .getThreadInfo = getEGLThreadInfo, - .getGLString = getGLString, + getThreadInfo: getEGLThreadInfo, + getGLString: getGLString, }; #define DBG_FUNC DBG("%s\n", __FUNCTION__)