incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h..@apache.org
Subject svn commit: r1344175 - /incubator/ooo/trunk/main/slideshow/source/engine/OGLTrans/OGLTrans_TransitionerImpl.cxx
Date Wed, 30 May 2012 09:48:36 GMT
Author: hdu
Date: Wed May 30 09:48:35 2012
New Revision: 1344175

URL: http://svn.apache.org/viewvc?rev=1344175&view=rev
Log:
Fix slideshow build on pre-glxext-18 systems

Patch by: Herbert Duerr
Suggested by: Herbert Duerr
Found by: Herbert Duerr

Modified:
    incubator/ooo/trunk/main/slideshow/source/engine/OGLTrans/OGLTrans_TransitionerImpl.cxx

Modified: incubator/ooo/trunk/main/slideshow/source/engine/OGLTrans/OGLTrans_TransitionerImpl.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/slideshow/source/engine/OGLTrans/OGLTrans_TransitionerImpl.cxx?rev=1344175&r1=1344174&r2=1344175&view=diff
==============================================================================
--- incubator/ooo/trunk/main/slideshow/source/engine/OGLTrans/OGLTrans_TransitionerImpl.cxx
(original)
+++ incubator/ooo/trunk/main/slideshow/source/engine/OGLTrans/OGLTrans_TransitionerImpl.cxx
Wed May 30 09:48:35 2012
@@ -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>



Mime
View raw message