summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-05-28 08:14:00 +0100
committerKeith Packard <keithp@keithp.com>2014-06-02 13:11:18 -0700
commit7ca458493aa2f0aa091c989ea0768611e0730bf5 (patch)
tree7d29d79a8204578b45ac3e9aa886f589d7acdd42
parent746be5a03ebbda4ab411ca3efb2ed95f99e9ea46 (diff)
xfree86: Report Present as a built-in module
This is so that drivers can do a runtime check that Present is available, similar to existing runtime checks performed by the drivers for DRI. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--hw/xfree86/loader/loadmod.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/xfree86/loader/loadmod.c b/hw/xfree86/loader/loadmod.c
index f92ad8dcb..e1f649a74 100644
--- a/hw/xfree86/loader/loadmod.c
+++ b/hw/xfree86/loader/loadmod.c
@@ -841,6 +841,9 @@ static const char *compiled_in_modules[] = {
#if DRI3
"dri3",
#endif
+#if PRESENT
+ "present",
+#endif
NULL
};