diff options
author | marha <marha@users.sourceforge.net> | 2012-09-24 10:48:54 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2012-09-24 10:48:54 +0200 |
commit | 94ef26cb962261d0b47daf7ef3c856510999bd4c (patch) | |
tree | 7ccbceaccd2825934849e32a93fcc8bd3a94caf0 /xorg-server/hw/xwin/InitOutput.c | |
parent | c24a0fccb18e611b2879e68565ab8f1c5c5dbd62 (diff) | |
download | vcxsrv-94ef26cb962261d0b47daf7ef3c856510999bd4c.tar.gz vcxsrv-94ef26cb962261d0b47daf7ef3c856510999bd4c.tar.bz2 vcxsrv-94ef26cb962261d0b47daf7ef3c856510999bd4c.zip |
Only add glx extension one
Diffstat (limited to 'xorg-server/hw/xwin/InitOutput.c')
-rw-r--r-- | xorg-server/hw/xwin/InitOutput.c | 5 |
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"); |