aboutsummaryrefslogtreecommitdiff
path: root/xorg-server
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2012-09-24 10:48:54 +0200
committermarha <marha@users.sourceforge.net>2012-09-24 10:48:54 +0200
commit94ef26cb962261d0b47daf7ef3c856510999bd4c (patch)
tree7ccbceaccd2825934849e32a93fcc8bd3a94caf0 /xorg-server
parentc24a0fccb18e611b2879e68565ab8f1c5c5dbd62 (diff)
downloadvcxsrv-94ef26cb962261d0b47daf7ef3c856510999bd4c.tar.gz
vcxsrv-94ef26cb962261d0b47daf7ef3c856510999bd4c.tar.bz2
vcxsrv-94ef26cb962261d0b47daf7ef3c856510999bd4c.zip
Only add glx extension one
Diffstat (limited to 'xorg-server')
-rw-r--r--xorg-server/hw/xwin/InitOutput.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/xorg-server/hw/xwin/InitOutput.c b/xorg-server/hw/xwin/InitOutput.c
index f895452be..53388a093 100644
--- a/xorg-server/hw/xwin/InitOutput.c
+++ b/xorg-server/hw/xwin/InitOutput.c
@@ -161,7 +161,7 @@ void XwinExtensionInit(void)
int i;
#ifdef XWIN_GLX_WINDOWS
- if ((g_fNativeGl) && (serverGeneration == 1)) {
+ if (g_fNativeGl) {
/* install the native GL provider */
glxWinPushNativeProvider();
}
@@ -928,7 +928,8 @@ InitOutput(ScreenInfo * screenInfo, int argc, char *argv[])
{
int i;
- XwinExtensionInit();
+ if (serverGeneration == 1)
+ XwinExtensionInit();
winDebug("InitOutput\n");