summaryrefslogtreecommitdiff
path: root/src/driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/driver.c')
-rw-r--r--src/driver.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/driver.c b/src/driver.c
index 7df587e..7060d37 100644
--- a/src/driver.c
+++ b/src/driver.c
@@ -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;