<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - [bisected] Mesa demos fails to link with drawtex.c:34: undefined reference to `glDrawTexfOES'"
href="https://bugs.freedesktop.org/show_bug.cgi?id=78101#c6">Comment # 6</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - [bisected] Mesa demos fails to link with drawtex.c:34: undefined reference to `glDrawTexfOES'"
href="https://bugs.freedesktop.org/show_bug.cgi?id=78101">bug 78101</a>
from <span class="vcard"><a class="email" href="mailto:lemody@gmail.com" title="Tapani Pälli <lemody@gmail.com>"> <span class="fn">Tapani Pälli</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=78101#c5">comment #5</a>)
<span class="quote">> The demos need to use eglGetProcAddress for extension functions. The patch
> is the right approach, but having a non-static function pointer with the
> same name as a function is very dangerous. You wouldn't declare 'int
> (*printf)(const char *, ...);' in your code and expect things to work, would
> you? :)
>
> This is why GLEW names the function pointers __glewFoo and has a #define
> glFoo that calls it.</span >
That is why I left OES out of the name but I can change it to something better
(?)</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>