present: Don't try to initialize when building without present support
There's a --disable-present, so it'd be nice if it worked. Signed-off-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net> Reviewed-by: Mark Kettenis <kettenis@openbsd.org> Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
0822a23e04
commit
43e5a43fa8
|
@ -287,7 +287,9 @@ static ExtensionModule staticExtensions[] = {
|
||||||
#ifdef DPMSExtension
|
#ifdef DPMSExtension
|
||||||
{DPMSExtensionInit, DPMSExtensionName, &noDPMSExtension},
|
{DPMSExtensionInit, DPMSExtensionName, &noDPMSExtension},
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef PRESENT
|
||||||
{present_extension_init, PRESENT_NAME, NULL},
|
{present_extension_init, PRESENT_NAME, NULL},
|
||||||
|
#endif
|
||||||
#ifdef DRI3
|
#ifdef DRI3
|
||||||
{dri3_extension_init, DRI3_NAME, NULL},
|
{dri3_extension_init, DRI3_NAME, NULL},
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue