From 9f4689173ef9db080592497dc2212ae79b8d6e02 Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Thu, 6 Dec 2007 00:46:32 +0000 Subject: [PATCH] KDrive: Xephyr: Fix non-GLX builds Only set noGlxExtension if we're actually building GLX. --- hw/kdrive/ephyr/ephyrinit.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hw/kdrive/ephyr/ephyrinit.c b/hw/kdrive/ephyr/ephyrinit.c index c33892ce0..e4ff97585 100644 --- a/hw/kdrive/ephyr/ephyrinit.c +++ b/hw/kdrive/ephyr/ephyrinit.c @@ -47,7 +47,9 @@ InitCard (char *name) void InitOutput (ScreenInfo *pScreenInfo, int argc, char **argv) { +#ifdef GLXEXT noGlxExtension=TRUE; +#endif KdInitOutput (pScreenInfo, argc, argv); }