<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - GL/gl_mangle.h misses symbols from GLES/gl.h"
href="https://bugs.freedesktop.org/show_bug.cgi?id=91724#c8">Comment # 8</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - GL/gl_mangle.h misses symbols from GLES/gl.h"
href="https://bugs.freedesktop.org/show_bug.cgi?id=91724">bug 91724</a>
from <span class="vcard"><a class="email" href="mailto:emil.l.velikov@gmail.com" title="Emil Velikov <emil.l.velikov@gmail.com>"> <span class="fn">Emil Velikov</span></a>
</span></b>
<pre>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!</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>