From 7ca458493aa2f0aa091c989ea0768611e0730bf5 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Wed, 28 May 2014 08:14:00 +0100 Subject: [PATCH] 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 Signed-off-by: Keith Packard --- hw/xfree86/loader/loadmod.c | 3 +++ 1 file changed, 3 insertions(+) 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 @@ -840,6 +840,9 @@ static const char *compiled_in_modules[] = { "dri2", #if DRI3 "dri3", +#endif +#if PRESENT + "present", #endif NULL };