modesetting: Don't (brokenly) double-track software cursor

Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
Adam Jackson 2014-02-25 09:06:55 -05:00
parent fac2bcf1da
commit 2029c028fc
2 changed files with 1 additions and 2 deletions

View File

@ -801,7 +801,7 @@ CreateScreenResources(ScreenPtr pScreen)
drmmode_uevent_init(pScrn, &ms->drmmode);
if (!ms->SWCursor)
if (!ms->drmmode.sw_cursor)
drmmode_map_cursor_bos(pScrn, &ms->drmmode);
pixels = drmmode_map_front_bo(&ms->drmmode);
if (!pixels)

View File

@ -59,7 +59,6 @@ typedef struct _modesettingRec
#endif
Bool noAccel;
Bool SWCursor;
CloseScreenProcPtr CloseScreen;
/* Broken-out options. */