thinstation/bootsplash.patch.patch
changeset 35 00eb34bfe348
parent 34 87b508932fa3
equal deleted inserted replaced
34:87b508932fa3 35:00eb34bfe348
     1 --- ../../../../../bootsplash-3.1.6-2.6.24.diff	2009-03-26 10:19:04.000000000 +0100
       
     2 +++ bootsplash.patch	2011-03-29 19:29:44.816130546 +0200
       
     3 @@ -2318,7 +2318,7 @@
       
     4  +			int sx, int height, int width)
       
     5  +{
       
     6  +	int bgshift = (vc->vc_hi_font_mask) ? 13 : 12;
       
     7 -+	int bg_color = attr_bgcol_ec(bgshift, vc);
       
     8 ++	int bg_color = attr_bgcol_ec(bgshift, vc, info);
       
     9  +	int transparent = sd->splash_color == bg_color;
       
    10  +	u32 bgx;
       
    11  +	u8 *dst;
       
    12 @@ -2493,7 +2493,7 @@
       
    13  +		return;
       
    14  +	}
       
    15  +#endif
       
    16 - 	region.color = attr_bgcol_ec(bgshift, vc);
       
    17 + 	region.color = attr_bgcol_ec(bgshift, vc, info);
       
    18   	region.dx = sx * vc->vc_font.width;
       
    19   	region.dy = sy * vc->vc_font.height;
       
    20  @@ -160,6 +177,13 @@
       
    21 @@ -2521,7 +2521,7 @@
       
    22  +	}
       
    23  +#endif
       
    24  +
       
    25 - 	region.color = attr_bgcol_ec(bgshift, vc);
       
    26 + 	region.color = attr_bgcol_ec(bgshift, vc, info);
       
    27   	region.rop = ROP_COPY;
       
    28   
       
    29  @@ -379,6 +410,14 @@