don't map cursors in sw cursor mode
This commit is contained in:
parent
d4eebe5217
commit
f47f6b6a53
|
@ -551,7 +551,8 @@ CreateScreenResources(ScreenPtr pScreen)
|
||||||
|
|
||||||
drmmode_uevent_init(pScrn, &ms->drmmode);
|
drmmode_uevent_init(pScrn, &ms->drmmode);
|
||||||
|
|
||||||
drmmode_map_cursor_bos(pScrn, &ms->drmmode);
|
if (!ms->SWCursor)
|
||||||
|
drmmode_map_cursor_bos(pScrn, &ms->drmmode);
|
||||||
pixels = drmmode_map_front_bo(&ms->drmmode);
|
pixels = drmmode_map_front_bo(&ms->drmmode);
|
||||||
if (!pixels)
|
if (!pixels)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
Loading…
Reference in New Issue