Breakage in last commit to this file: pCurPriv->area isn't set up until
Enable, these days.
This commit is contained in:
@@ -519,9 +519,6 @@ ATICursorInit(ScreenPtr pScreen)
|
|||||||
|
|
||||||
pCurPriv->has_cursor = FALSE;
|
pCurPriv->has_cursor = FALSE;
|
||||||
|
|
||||||
if (pCurPriv->area == NULL)
|
|
||||||
return FALSE;
|
|
||||||
|
|
||||||
if (atic->reg_base == NULL)
|
if (atic->reg_base == NULL)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
@@ -544,7 +541,7 @@ ATIRecolorCursor (ScreenPtr pScreen, int ndef, xColorItem *pdef)
|
|||||||
if (!atic->is_radeon)
|
if (!atic->is_radeon)
|
||||||
ClassicRecolorCursor (pScreen, ndef, pdef);
|
ClassicRecolorCursor (pScreen, ndef, pdef);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
ATICursorFini(ScreenPtr pScreen)
|
ATICursorFini(ScreenPtr pScreen)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user