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:
parent
70092bfbc5
commit
13c960db9e
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue