summaryrefslogtreecommitdiff
path: root/src/video_out/video_out_opengl.c
diff options
context:
space:
mode:
authorMatthias Hopf <mat@mshopf.de>2005-04-06 16:12:02 +0000
committerMatthias Hopf <mat@mshopf.de>2005-04-06 16:12:02 +0000
commit850b617345dfc6ef6f67b49abfd7972b9cb8902f (patch)
treeef8e425a7706d7266f30aa4a465cd3d83c6371af /src/video_out/video_out_opengl.c
parent692a5313e2a6b407fcfd8c0491e275655d868138 (diff)
downloadxine-lib-850b617345dfc6ef6f67b49abfd7972b9cb8902f.tar.gz
xine-lib-850b617345dfc6ef6f67b49abfd7972b9cb8902f.tar.bz2
Using self-supplied glext.h now in order to reduce compile requirements.
CVS patchset: 7447 CVS date: 2005/04/06 16:12:02
Diffstat (limited to 'src/video_out/video_out_opengl.c')
-rw-r--r--src/video_out/video_out_opengl.c6
1 files changed, 5 insertions, 1 deletions
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 <ctype.h>
#include <pthread.h>
+/* We are not legacy, but we provide our own glext.h */
+#define GL_GLEXT_LEGACY 1
#include <GL/gl.h>
#include <GL/glx.h>
#include <GL/glu.h>
+#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