sna: Use the local function for turning the cursor off prior to release

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2012-05-28 16:21:09 +01:00
parent 77dd429222
commit 55e6f5f220
1 changed files with 1 additions and 1 deletions

View File

@ -915,7 +915,7 @@ sna_crtc_destroy(xf86CrtcPtr crtc)
struct sna *sna = to_sna(crtc->scrn);
struct sna_crtc *sna_crtc = crtc->driver_private;
drmModeSetCursor(sna->kgem.fd, crtc_id(sna_crtc), 0, 64, 64);
sna_crtc_hide_cursor(crtc);
gem_close(sna->kgem.fd, sna_crtc->cursor);
list_del(&sna_crtc->link);