glew
glew copied to clipboard
KHR_get_all_proc_addresses is assumed present for EGL
In glewContextInit() there is a call to obtain the address of glGetString. However, this, and any other calls to get core function addresses, will fail on EGL contexts that are missing KHR_get_all_proc_addresses extension.
At a minimum it'd be good to check for KHR_get_all_proc_addresses and error gracefully but preferably make things work regardless, e.g. by directly querying the system library for entry points.
I see. GLEW shouldn't be assuming KHR_get_all_proc_addresses
for getting core function addresses. https://www.khronos.org/registry/egl/extensions/KHR/EGL_KHR_get_all_proc_addresses.txt
Yes, I see what you mean. Bumping this for GLEW 2.2.0.