diff options
Diffstat (limited to 'src/radeon_glamor.c')
-rw-r--r-- | src/radeon_glamor.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/radeon_glamor.c b/src/radeon_glamor.c index 5a7561f2..ef7d95ca 100644 --- a/src/radeon_glamor.c +++ b/src/radeon_glamor.c @@ -93,6 +93,13 @@ radeon_glamor_pre_init(ScrnInfoPtr scrn) if (strcasecmp(s, "glamor") != 0) return FALSE; + if (!xf86LoaderCheckSymbol("glamor_egl_init")) { + xf86DrvMsg(scrn->scrnIndex, s ? X_ERROR : X_WARNING, + "glamor requires Load \"glamoregl\" in " + "Section \"Module\", disabling.\n"); + return FALSE; + } + /* Load glamor module */ if ((glamor_module = xf86LoadSubModule(scrn, GLAMOR_EGL_MODULE_NAME))) { version = xf86GetModuleVersion(glamor_module); |