xserver/hw/kdrive/ati ati_cursor.c,1.4,1.5

Eric Anholt <xserver-commit-u7BhqnqprCWvj1b/[email protected]>
Newsgroups gmane.comp.freedesktop.xserver.cvs
Message-ID <[email protected]>
Committed by: anholt

Update of /cvs/xserver/xserver/hw/kdrive/ati
In directory pdx:/tmp/cvs-serv29785/hw/kdrive/ati

Modified Files:
	ati_cursor.c 
Log Message:
Breakage in last commit to this file: pCurPriv->area isn't set up until
Enable, these days.


Index: ati_cursor.c
===================================================================
RCS file: /cvs/xserver/xserver/hw/kdrive/ati/ati_cursor.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- ati_cursor.c	19 Jul 2004 07:53:54 -0000	1.4
+++ ati_cursor.c	19 Jul 2004 11:42:49 -0000	1.5
@@ -519,9 +519,6 @@
 
 	pCurPriv->has_cursor = FALSE;
 
-	if (pCurPriv->area == NULL)
-		return FALSE;
-
 	if (atic->reg_base == NULL)
 		return FALSE;
 
@@ -544,7 +541,7 @@
 	if (!atic->is_radeon)
 		ClassicRecolorCursor (pScreen, ndef, pdef);
 }
-	
+
 void  
 ATICursorFini(ScreenPtr pScreen)
 {
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.