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

--- Comment #6 from Tapani Pälli <lem...@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.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to