From e2fe5f8a1faa6f64e60e358164e985d3df725133 Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Wed, 3 Sep 2014 15:48:14 +0100 Subject: [PATCH] LoadExtensionList is new in 1.16. --- unix/xserver/hw/vnc/xvnc.cc | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.39.5