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>
This commit is contained in:
Zhigang Gong 2012-02-02 11:30:57 +08:00 committed by Chris Wilson
parent 70092bfbc5
commit 13c960db9e
1 changed files with 1 additions and 1 deletions

View File

@ -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,