Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > e6a1b6d5a8b500d6f4204a4c837abc83 > files > 1

vaapi-driver-vdpau-0.7.4-2.mga3.src.rpm

diff -p -up ./src/utils_glx.h.tv ./src/utils_glx.h
--- ./src/utils_glx.h.tv	2012-10-10 10:27:08.828025664 +0200
+++ ./src/utils_glx.h	2012-10-11 11:34:56.633999314 +0200
@@ -21,7 +21,10 @@
 #ifndef UTILS_GLX_H
 #define UTILS_GLX_H
 
+#define GL_GLEXT_LEGACY
+#define GL_GLEXT_PROTOTYPES
 #include <GL/gl.h>
+#undef GL_VERSION_1_3
 #include <GL/glext.h>
 #include <GL/glx.h>
 #include <GL/glxext.h>
diff -p -up ./src/vdpau_video_glx.h.tv ./src/vdpau_video_glx.h
--- ./src/vdpau_video_glx.h.tv	2012-10-10 10:23:12.887805461 +0200
+++ ./src/vdpau_video_glx.h	2012-10-11 11:33:03.218317608 +0200
@@ -21,6 +21,8 @@
 #ifndef VDPAU_VIDEO_GLX_H
 #define VDPAU_VIDEO_GLX_H
 
+#define GL_GLEXT_LEGACY
+#include <GL/gl.h>
 #include "vdpau_driver.h"
 #include "vdpau_video_x11.h"
 #include "utils_glx.h"