[Intel-gfx] [PATCH] uxa/glamor: Use a macro to specify module name.
zhigang.gong at linux.intel.com
zhigang.gong at linux.intel.com
Thu Feb 2 04:30:57 CET 2012
From: Zhigang Gong <zhigang.gong at linux.intel.com>
Signed-off-by: Zhigang Gong <zhigang.gong at linux.intel.com>
---
src/intel_glamor.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/intel_glamor.c b/src/intel_glamor.c
index 446dd3d..f908b7c 100644
--- a/src/intel_glamor.c
+++ b/src/intel_glamor.c
@@ -67,7 +67,7 @@ intel_glamor_pre_init(ScrnInfoPtr scrn)
intel = intel_get_screen_private(scrn);
/* Load glamor module */
- if ((glamor_module = xf86LoadSubModule(scrn, "glamor_egl"))) {
+ if ((glamor_module = xf86LoadSubModule(scrn, GLAMOR_EGL_MODULE_NAME))) {
version = xf86GetModuleVersion(glamor_module);
if (version < MODULE_VERSION_NUMERIC(0,3,0)) {
xf86DrvMsg(scrn->scrnIndex, X_ERROR,
--
1.7.4.4
More information about the Intel-gfx
mailing list