[vlc-commits] Revert "OpenGL: fix compilation / missing glXGetProcAddressARB"
Laurent Aimar
git at videolan.org
Sun Jun 12 18:15:04 CEST 2011
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sun Jun 12 18:14:27 2011 +0200| [a2dd68cbe010b5ae93405219a641c6f6634f658b] | committer: Laurent Aimar
Revert "OpenGL: fix compilation / missing glXGetProcAddressARB"
This reverts commit 9abb97d0e8d9ecfcb7ae2a9684e0e6f72ac19aac.
Sadly, this is not the right fix.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a2dd68cbe010b5ae93405219a641c6f6634f658b
---
modules/video_output/xcb/glx.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/video_output/xcb/glx.c b/modules/video_output/xcb/glx.c
index 7ccca31..f81c9fc 100644
--- a/modules/video_output/xcb/glx.c
+++ b/modules/video_output/xcb/glx.c
@@ -470,7 +470,7 @@ static void SwapBuffers (vlc_gl_t *gl)
static void *GetProcAddress (vlc_gl_t *gl, const char *name)
{
(void)gl;
-#if defined(GLX_ARB_get_proc_address) && defined(GLX_GLXEXT_PROTOTYPES)
+#ifdef GLX_ARB_get_proc_address
return glXGetProcAddressARB ((const GLubyte *)name);
#else
return NULL;
More information about the vlc-commits
mailing list