mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-25 23:30:05 +01:00
don't map cursors in sw cursor mode
This commit is contained in:
parent
d4eebe5217
commit
f47f6b6a53
1 changed files with 2 additions and 1 deletions
|
|
@ -551,7 +551,8 @@ CreateScreenResources(ScreenPtr pScreen)
|
|||
|
||||
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);
|
||||
if (!pixels)
|
||||
return FALSE;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue