]> source.dussan.org Git - tigervnc.git/commitdiff
LoadExtensionList is new in 1.16.
authorTim Waugh <twaugh@redhat.com>
Wed, 3 Sep 2014 14:48:14 +0000 (15:48 +0100)
committerTim Waugh <twaugh@redhat.com>
Wed, 3 Sep 2014 14:48:14 +0000 (15:48 +0100)
unix/xserver/hw/vnc/xvnc.cc

index 6ab3bb57b4e05507b7a4acb4ffce04c8afd9858d..0172feb54c584116ce49be06157f924c19492efa 100644 (file)
@@ -1625,7 +1625,11 @@ InitOutput(ScreenInfo *screenInfo, int argc, char **argv)
 #if XORG >= 113
 #ifdef GLXEXT
     if (serverGeneration == 1)
+#if XORG >= 116
         LoadExtensionList(&glxExt, 1, TRUE);
+#else
+        LoadExtension(&glxExt, TRUE);
+#endif
 #endif
 #endif