[vlc-devel] [vlc-commits] OpenGL: fix compilation / missing glXGetProcAddressARB

Laurent Aimar fenrir at elivagar.org
Sun Jun 12 18:13:19 CEST 2011


On Sun, Jun 12, 2011 at 05:39:56PM +0200, Francois Cartegnie wrote:
> vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sun Jun 12 16:18:07 2011 +0200| [9abb97d0e8d9ecfcb7ae2a9684e0e6f72ac19aac] | committer: Francois Cartegnie
> 
> OpenGL: fix compilation / missing glXGetProcAddressARB
> 
> According to glxext.h, glXGetProcAddressARB also requires
> GLX_GLXEXT_PROTOTYPES (works with all implementations ?)
 Does not seems to work for me.
 From what I read, GLX_GLXEXT_PROTOTYPES is to defines the extension
functions as extern. It is something you do define yourself before
including gl*.h.
 So I will revert it.

 Now, what is your issue exactly? glXGetProcAddressARB should normaly be
defined by glx.h and it is mandatory on linux that it is present in the
library.

-- 
fenrir




More information about the vlc-devel mailing list