Open vvuk opened 2 years ago
Interesting, thanks.
I think it would preferable for eglew.h not to depend on the EGL_CAST macro.
On the assumption that EGL_CAST macro is something added, that can't always be assumed.
Perhaps ideally they could be converted from EGL_CAST(EGLSurface,0)
((EGLSurface)0)
for compatibility purposes?
Extensions, especially EGL, now have tokens like:
This expands the tokens regex to handle them.
Unfortunately this now leads to warnings like:
I think the non-EGL_CAST version comes from
auto/glfixes
but I don't know if the fix is to just delete these entries from there?EGL_CAST
is ineglplatform
so no issues with having things defined in terms of it.