[Mesa-dev] [Bug 78101] [bisected] Mesa demos fails to link with drawtex.c:34: undefined reference to `glDrawTexfOES'
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Apr 30 09:51:31 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=78101
--- Comment #6 from Tapani Pälli <lemody at gmail.com> ---
(In reply to comment #5)
> 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.
That is why I left OES out of the name but I can change it to something better
(?)
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140430/20eaa271/attachment-0001.html>
More information about the mesa-dev
mailing list