summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhigang Gong <zhigang.gong@linux.intel.com>2012-02-02 11:30:57 +0800
committerChris Wilson <chris@chris-wilson.co.uk>2012-02-08 09:07:42 +0000
commit13c960db9ef876ee99991d97dfc34fef184c0341 (patch)
tree2f98cad056b77d679678e96fd7ff038aa7fd8fc6
parent70092bfbc51ddc5a51c9cae21c6b2852c216a6fc (diff)
uxa/glamor: Use a macro to specify module name.
This depends upon glamor commit b5f8d, just after the 0.3.0 tag. Signed-off-by: Zhigang Gong <zhigang.gong@linux.intel.com> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--src/intel_glamor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel_glamor.c b/src/intel_glamor.c
index 262a06a1..c468d34f 100644
--- a/src/intel_glamor.c
+++ b/src/intel_glamor.c
@@ -68,7 +68,7 @@ intel_glamor_pre_init(ScrnInfoPtr scrn)
CARD32 version;
/* 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,