summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2007-12-06 00:46:32 +0000
committerDaniel Stone <daniel@fooishbar.org>2007-12-06 00:46:32 +0000
commit9f4689173ef9db080592497dc2212ae79b8d6e02 (patch)
tree9177a3bfc94d8c8c0a53e9d58592c9d088f080d9
parentd37351308b255d5f9bff3438b6767c62974902da (diff)
KDrive: Xephyr: Fix non-GLX builds
Only set noGlxExtension if we're actually building GLX.
-rw-r--r--hw/kdrive/ephyr/ephyrinit.c2
1 files changed, 2 insertions, 0 deletions
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);
}