Commit a2dd68cb authored by Laurent Aimar's avatar Laurent Aimar
Browse files

Revert "OpenGL: fix compilation / missing glXGetProcAddressARB"

This reverts commit 9abb97d0.

Sadly, this is not the right fix.
parent b3f9da17
...@@ -470,7 +470,7 @@ static void SwapBuffers (vlc_gl_t *gl) ...@@ -470,7 +470,7 @@ static void SwapBuffers (vlc_gl_t *gl)
static void *GetProcAddress (vlc_gl_t *gl, const char *name) static void *GetProcAddress (vlc_gl_t *gl, const char *name)
{ {
(void)gl; (void)gl;
#if defined(GLX_ARB_get_proc_address) && defined(GLX_GLXEXT_PROTOTYPES) #ifdef GLX_ARB_get_proc_address
return glXGetProcAddressARB ((const GLubyte *)name); return glXGetProcAddressARB ((const GLubyte *)name);
#else #else
return NULL; return NULL;
......
Supports Markdown
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