changeset 7836:6bfe33dc531e

RGB16 big endian fix patch by (Colin Leroy <colin at colino dot net>)
author michael
date Tue, 22 Oct 2002 11:52:21 +0000
parents d489890c59d3
children 6d544beb655e
files vidix/drivers/mach64_vid.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/vidix/drivers/mach64_vid.c	Tue Oct 22 07:56:13 2002 +0000
+++ b/vidix/drivers/mach64_vid.c	Tue Oct 22 11:52:21 2002 +0000
@@ -1002,6 +1002,7 @@
 			  ((mach64_grkey.ckey.blue &0xF8)>>3)
 			| ((mach64_grkey.ckey.green&0xFC)<<3)
 			| ((mach64_grkey.ckey.red  &0xF8)<<8);
+		besr.graphics_key_clr=le2me_32(besr.graphics_key_clr);
 		break;
 	case 24:
 		besr.graphics_key_msk=0xFFFFFF;