From 94ef26cb962261d0b47daf7ef3c856510999bd4c Mon Sep 17 00:00:00 2001 From: marha Date: Mon, 24 Sep 2012 10:48:54 +0200 Subject: Only add glx extension one --- xorg-server/hw/xwin/InitOutput.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'xorg-server/hw') 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"); -- cgit v1.2.3