Commit 9abb97d0 authored by Francois Cartegnie's avatar Francois Cartegnie

OpenGL: fix compilation / missing glXGetProcAddressARB

According to glxext.h, glXGetProcAddressARB also requires
GLX_GLXEXT_PROTOTYPES (works with all implementations ?)
parent 8122ef59
......@@ -470,7 +470,7 @@ static void SwapBuffers (vlc_gl_t *gl)
static void *GetProcAddress (vlc_gl_t *gl, const char *name)
{
(void)gl;
#ifdef GLX_ARB_get_proc_address
#if defined(GLX_ARB_get_proc_address) && defined(GLX_GLXEXT_PROTOTYPES)
return glXGetProcAddressARB ((const GLubyte *)name);
#else
return NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment