[vlc-commits] Tried to fix the macosx opengl.c compilation issue.

Laurent Aimar git at videolan.org
Mon Jun 6 21:33:35 CEST 2011


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Mon Jun  6 21:33:10 2011 +0200| [767026d4a0efea827347fbfc1cbb42e09a2f7b1c] | committer: Laurent Aimar

Tried to fix the macosx opengl.c compilation issue.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=767026d4a0efea827347fbfc1cbb42e09a2f7b1c
---

 modules/video_output/opengl.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/modules/video_output/opengl.c b/modules/video_output/opengl.c
index ae24f0c..40e4fdc 100644
--- a/modules/video_output/opengl.c
+++ b/modules/video_output/opengl.c
@@ -53,6 +53,13 @@
 #  define MACOS_OPENGL
 #  include <OpenGL/glext.h>
 # endif
+# define PFNGLGENPROGRAMSARBPROC              typeof(glGenProgramsARB)*
+# define PFNGLBINDPROGRAMARBPROC              typeof(glBindProgramARB)*
+# define PFNGLPROGRAMSTRINGARBPROC            typeof(glProgramStringARB)*
+# define PFNGLDELETEPROGRAMSARBPROC           typeof(glDeleteProgramsARB)*
+# define PFNGLPROGRAMLOCALPARAMETER4FVARBPROC typeof(glProgramLocalParameter4fvARB)*
+# define PFNGLACTIVETEXTUREARBPROC            typeof(glActiveTextureARB)*
+# define PFNGLMULTITEXCOORD2FARBPROC          typeof(glMultiTexCoord2fARB)*
 #endif
 
 /* RV16 */



More information about the vlc-commits mailing list