[Mplayer-cvslog] CVS: main/vidix/drivers radeon_vid.c,1.63,1.64

Arpi of Ize arpi at mplayerhq.hu
Thu Jan 9 19:27:53 CET 2003


Update of /cvsroot/mplayer/main/vidix/drivers
In directory mail:/var/tmp.root/cvs-serv13124/vidix/drivers

Modified Files:
	radeon_vid.c 
Log Message:
Fix support for Radeon 9000
patch by James Stembridge <jstembridge at gmx.net>


Index: radeon_vid.c
===================================================================
RCS file: /cvsroot/mplayer/main/vidix/drivers/radeon_vid.c,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -r1.63 -r1.64
--- radeon_vid.c	9 Jan 2003 18:27:13 -0000	1.63
+++ radeon_vid.c	9 Jan 2003 18:27:50 -0000	1.64
@@ -1016,8 +1016,8 @@
     case DEVICE_ATI_RADEON_MOBILITY_M7:
     case DEVICE_ATI_RADEON_MOBILITY_M72:
     case DEVICE_ATI_RADEON_MOBILITY_M62:
-    case DEVICE_ATI_RADEON_R250_IF:
       rage_ckey_model=1;
+    case DEVICE_ATI_RADEON_R250_IF:
     case DEVICE_ATI_RADEON_MOBILITY_M6:
     case DEVICE_ATI_RADEON_RV200_QW:
     case DEVICE_ATI_RADEON_RV200_QX:
@@ -1759,7 +1759,7 @@
 	{
 	case 15:
 #ifdef RADEON
-		if(RadeonFamily == 200)
+		if(RadeonFamily > 100)
 			besr.graphics_key_clr=
 				  ((radeon_grkey.ckey.blue &0xF8))
 				| ((radeon_grkey.ckey.green&0xF8)<<8)
@@ -1774,7 +1774,7 @@
 	case 16:
 #ifdef RADEON
 		/* This test may be too general/specific */
-		if(RadeonFamily == 200)
+		if(RadeonFamily > 100)
 			besr.graphics_key_clr=
 				  ((radeon_grkey.ckey.blue &0xF8))
 				| ((radeon_grkey.ckey.green&0xFC)<<8)



More information about the MPlayer-cvslog mailing list