summaryrefslogtreecommitdiffstats
path: root/unix/xserver/hw
diff options
context:
space:
mode:
authorTim Waugh <twaugh@redhat.com>2014-09-03 15:48:14 +0100
committerTim Waugh <twaugh@redhat.com>2014-09-03 15:48:14 +0100
commite2fe5f8a1faa6f64e60e358164e985d3df725133 (patch)
treece29469f9a2ab7ac712c1a739fc80297a288f223 /unix/xserver/hw
parentd822c36525891becf2ca1574b8610e14899c0186 (diff)
downloadtigervnc-e2fe5f8a1faa6f64e60e358164e985d3df725133.tar.gz
tigervnc-e2fe5f8a1faa6f64e60e358164e985d3df725133.zip
LoadExtensionList is new in 1.16.
Diffstat (limited to 'unix/xserver/hw')
-rw-r--r--unix/xserver/hw/vnc/xvnc.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/unix/xserver/hw/vnc/xvnc.cc b/unix/xserver/hw/vnc/xvnc.cc
index 6ab3bb57..0172feb5 100644
--- a/unix/xserver/hw/vnc/xvnc.cc
+++ b/unix/xserver/hw/vnc/xvnc.cc
@@ -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