summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2004-07-19 11:42:49 +0000
committerEric Anholt <anholt@freebsd.org>2004-07-19 11:42:49 +0000
commitadf4b38f49da063576b48f9c0750b78bb753b3de (patch)
tree29da05f23ebbe8891238c98bf2da779c115cdaee
parentd2e74e419d2c75c5a5b97236d2714730e6f69ee0 (diff)
Breakage in last commit to this file: pCurPriv->area isn't set up until
Enable, these days.
-rw-r--r--hw/kdrive/ati/ati_cursor.c5
1 files changed, 1 insertions, 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)
{