egl/main: fix EGL_KHR_get_all_proc_addresses
authorEmil Velikov <emil.l.velikov@gmail.com>
Mon, 11 May 2015 23:30:16 +0000 (00:30 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 14 May 2015 21:00:05 +0000 (21:00 +0000)
commit448e01b2918c76dfff8abfbd56a606fdff8c356c
tree171966066a5e9c9fcc6a928ddd88679ab0a58c7d
parentffc94e32a38b3948fe4ae2717a3f55802eb8aae8
egl/main: fix EGL_KHR_get_all_proc_addresses

The extension requires that the address of the core functions should be
available via eglGetProcAddress. Currently the list is guarded by
_EGL_GET_CORE_ADDRESSES, which was only set for the scons (windows)
build.

Unconditionally enable it for all the builds (automake, android and
haiku) considering that the extension is not platform specific and is
always enabled.

v2: Drop the _EGL_GET_CORE_ADDRESSES macro altogether.

Cc: mesa-stable@lists.freedesktop.org
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
src/egl/main/eglapi.c