[Mesa-dev] [Bug 91724] GL/gl_mangle.h misses symbols from GLES/gl.h

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Nov 27 00:48:22 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=91724

--- Comment #8 from Emil Velikov <emil.l.velikov at gmail.com> ---
Why no attach files here, sob :-(

Also please send patches to the ML for review.

A few things from a quick look (I might be off here):
- Using/setting GL_GLEXT_PROTOTYPES is a _very_ bad idea.
Both eglGetProcAddress and glXGetProcAddress can (and they will) return !NULL
for "glHamSandwich". I'd imagine th OSMesa one will do the same.

- Do you set USE_MGL_NAMESPACE when building the demo app ? 
Without it the (header) symbols are not mangled, thus you end up linking/using
the normal glFoo ones.

- Is this issue specific to static linking and/or !Linux systems ? I've tried
building osmesa the other day it seemed fine.

- Do you see this problem isolated to the gallium and/or classic osmesa ?

Thanks!

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20161127/e6a1b8b5/attachment-0001.html>


More information about the mesa-dev mailing list