From 850b617345dfc6ef6f67b49abfd7972b9cb8902f Mon Sep 17 00:00:00 2001 From: Matthias Hopf Date: Wed, 6 Apr 2005 16:12:02 +0000 Subject: Using self-supplied glext.h now in order to reduce compile requirements. CVS patchset: 7447 CVS date: 2005/04/06 16:12:02 --- src/video_out/video_out_opengl.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/video_out/video_out_opengl.c') diff --git a/src/video_out/video_out_opengl.c b/src/video_out/video_out_opengl.c index 0aec160dd..1ce3a9a01 100644 --- a/src/video_out/video_out_opengl.c +++ b/src/video_out/video_out_opengl.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: video_out_opengl.c,v 1.46 2005/04/05 13:27:35 mshopf Exp $ + * $Id: video_out_opengl.c,v 1.47 2005/04/06 16:12:02 mshopf Exp $ * * video_out_opengl.c, OpenGL based interface for xine * @@ -50,9 +50,12 @@ #include #include +/* We are not legacy, but we provide our own glext.h */ +#define GL_GLEXT_LEGACY 1 #include #include #include +#include "glext.h" #include "xine.h" #include "video_out.h" @@ -75,6 +78,7 @@ #if defined (_WIN32) #define getaddr(x) wglGetProcAddress(x) #else +/* !@#$% ARB. What on earth drove them to nuke that definition in 1.4?!? */ extern void *glXGetProcAddressARB(const GLubyte *procName); #define getaddr(x) glXGetProcAddressARB(x) #endif -- cgit v1.2.3