From adf4b38f49da063576b48f9c0750b78bb753b3de Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 19 Jul 2004 11:42:49 +0000 Subject: [PATCH] Breakage in last commit to this file: pCurPriv->area isn't set up until Enable, these days. --- hw/kdrive/ati/ati_cursor.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/hw/kdrive/ati/ati_cursor.c b/hw/kdrive/ati/ati_cursor.c index 8e7347f34..f8bcc7027 100644 --- a/hw/kdrive/ati/ati_cursor.c +++ b/hw/kdrive/ati/ati_cursor.c @@ -519,9 +519,6 @@ ATICursorInit(ScreenPtr pScreen) pCurPriv->has_cursor = FALSE; - if (pCurPriv->area == NULL) - return FALSE; - if (atic->reg_base == NULL) return FALSE; @@ -544,7 +541,7 @@ ATIRecolorCursor (ScreenPtr pScreen, int ndef, xColorItem *pdef) if (!atic->is_radeon) ClassicRecolorCursor (pScreen, ndef, pdef); } - + void ATICursorFini(ScreenPtr pScreen) {