Revision: 5067
          http://tigervnc.svn.sourceforge.net/tigervnc/?rev=5067&view=rev
Author:   ossman_
Date:     2013-04-09 14:50:15 +0000 (Tue, 09 Apr 2013)
Log Message:
-----------
GLX is no longer initialised by the dix. Patch originally by
Adam Tkac for Fedora.

Modified Paths:
--------------
    trunk/unix/xserver/hw/vnc/xvnc.cc

Modified: trunk/unix/xserver/hw/vnc/xvnc.cc
===================================================================
--- trunk/unix/xserver/hw/vnc/xvnc.cc   2013-03-25 20:58:14 UTC (rev 5066)
+++ trunk/unix/xserver/hw/vnc/xvnc.cc   2013-04-09 14:50:15 UTC (rev 5067)
@@ -1563,7 +1563,19 @@
 static void vfbClientStateChange(CallbackListPtr*, pointer, pointer) {
   dispatchException &= ~DE_RESET;
 }
+ 
+#if XORG >= 113
+#ifdef GLXEXT
+extern "C" void GlxExtensionInit(void);
 
+static ExtensionModule glxExt = {
+    GlxExtensionInit,
+    "GLX",
+    &noGlxExtension
+};
+#endif
+#endif
+
 void
 InitOutput(ScreenInfo *screenInfo, int argc, char **argv)
 {
@@ -1573,6 +1585,13 @@
     int i;
     int NumFormats = 0;
 
+#if XORG >= 113
+#ifdef GLXEXT
+    if (serverGeneration == 1)
+        LoadExtension(&glxExt, TRUE);
+#endif
+#endif
+
     /* initialize pixmap formats */
 
     /* must have a pixmap depth to match every screen depth */

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Tigervnc-commits mailing list
Tigervnc-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-commits

Reply via email to