From 3e23146dc8866891cd55ee68efc81ae4f4bffaf1 Mon Sep 17 00:00:00 2001 From: ben Date: Mon, 10 Dec 2007 19:27:46 +0000 Subject: Fixed VIDIX color bug that was introduced when Radeon VIDIX driver was synchronized with vidix.sf.net. The red color was saturating. Corrected value fixes the issue and restore the color to the level it used to have before synchronization. Meaning of the value remains unknow but was retrieved from register's value of a Radeon 9000 card, so it may need further testing. Patch by Guillaume Lecerf (foxcore at gmail dot com) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25345 b3059339-0415-0410-9bf9-f77b7e298cf2 --- vidix/radeon_vid.c | 1 + 1 file changed, 1 insertion(+) diff --git a/vidix/radeon_vid.c b/vidix/radeon_vid.c index c82c9beb3e..aeff422a7e 100644 --- a/vidix/radeon_vid.c +++ b/vidix/radeon_vid.c @@ -1138,6 +1138,7 @@ static void radeon_vid_make_default(void) besr.graphics_key_msk=0; besr.graphics_key_clr=0; besr.ckey_cntl = VIDEO_KEY_FN_TRUE|GRAPHIC_KEY_FN_TRUE|CMP_MIX_AND; + besr.merge_cntl |= 0x00000100; /* DISP_RGB_OFFSET_EN */ } static int find_chip(unsigned chip_id) -- cgit v1.2.3