Commit 9abb97d0 authored by François Cartegnie's avatar François Cartegnie 🤞
Browse files

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)
#ifdef GLX_ARB_get_proc_address
#if defined(GLX_ARB_get_proc_address) && defined(GLX_GLXEXT_PROTOTYPES)
return glXGetProcAddressARB ((const GLubyte *)name);
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