diff options
author | Gwenole Beauchesne <gbeauchesne@splitted-desktop.com> | 2011-01-05 12:05:36 +0000 |
---|---|---|
committer | Gwenole Beauchesne <gbeauchesne@splitted-desktop.com> | 2011-01-05 12:05:36 +0000 |
commit | 61098c8b37e54cd20118369604386a39562b8f21 (patch) | |
tree | ab0970e4cd5b77785689736b8c28571069735b46 | |
parent | 12d049add55ac8e7f912611dbfc8394078c687fd (diff) |
Fix build if no OpenGL header is available (libva >= 0.31.1).
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | src/vdpau_driver.c | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -3,6 +3,7 @@ Copyright (C) 2009-2010 Splitted-Desktop Systems Version 0.7.3 - DD.Dec.2010 * Fix possible crash when rendering multiple surfaces at once +* Fix build if no OpenGL header is available (libva >= 0.31.1) * Fix VA/GLX build with upstream libva and newer OpenGL headers Version 0.7.2 - 08.Oct.2010 diff --git a/src/vdpau_driver.c b/src/vdpau_driver.c index 9c4db6c..d085a9a 100644 --- a/src/vdpau_driver.c +++ b/src/vdpau_driver.c @@ -281,7 +281,7 @@ VAStatus VA_DRIVER_INIT_FUNC(void *ctx) #define VA_INIT_VERSION_MINOR 31 #define VA_INIT_VERSION_MICRO 1 #define VA_INIT_SUFFIX 0_31_1 -#define VA_INIT_GLX 1 +#define VA_INIT_GLX USE_GLX #include "vdpau_driver_template.h" VAStatus __vaDriverInit_0_31(void *ctx) |