summaryrefslogtreecommitdiff
path: root/slideshow
diff options
context:
space:
mode:
authorHerbert Dürr <hdu@apache.org>2012-05-30 08:48:35 +0000
committerHerbert Dürr <hdu@apache.org>2012-05-30 08:48:35 +0000
commit87383b07ff92196a216edeadb2ca76816f766ee6 (patch)
treeecf9303a0ec7ab53009fe290f540d81e2c9a6d4b /slideshow
parentf0d806633482b0495cd34cd9fa66fde851cf4d80 (diff)
Fix slideshow build on pre-glxext-18 systems
Patch by: Herbert Duerr Suggested by: Herbert Duerr Found by: Herbert Duerr
Notes
Notes: ignore: obsolete
Diffstat (limited to 'slideshow')
-rw-r--r--slideshow/source/engine/OGLTrans/OGLTrans_TransitionerImpl.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/slideshow/source/engine/OGLTrans/OGLTrans_TransitionerImpl.cxx b/slideshow/source/engine/OGLTrans/OGLTrans_TransitionerImpl.cxx
index ed70f183889a..33aeb0c6018f 100644
--- a/slideshow/source/engine/OGLTrans/OGLTrans_TransitionerImpl.cxx
+++ b/slideshow/source/engine/OGLTrans/OGLTrans_TransitionerImpl.cxx
@@ -73,6 +73,11 @@ namespace unx
#include <X11/X.h>
#include <GL/glx.h>
#include <GL/glxext.h>
+
+#if GLX_GLXEXT_VERSION<18
+ typedef void(*PFNGLXBINDTEXIMAGEEXTPROC)(Display*dpy,GLXDrawable,int,const int*);
+ typedef void(*PFNGLXRELEASETEXIMAGEEXTPROC)(Display*,GLXDrawable,int);
+#endif
}
#endif
#include <vcl/sysdata.hxx>