<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">
From: Russell King &lt;rmk@arm.linux.org.uk&gt;

Someone (I forget who, because I've had the patch so long) sent me this
which fixes the problem for me.



 25-akpm/drivers/video/cfbimgblt.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/video/cfbimgblt.c~fb-image-depth-fix drivers/video/cfbimgblt.c
--- 25/drivers/video/cfbimgblt.c~fb-image-depth-fix	Wed May 28 15:32:47 2003
+++ 25-akpm/drivers/video/cfbimgblt.c	Wed May 28 15:32:47 2003
@@ -325,7 +325,7 @@ void cfb_imageblit(struct fb_info *p, co
 		else 
 			slow_imageblit(image, p, dst1, fgcolor, bgcolor,
 					start_index, pitch_index);
-	} else if (image-&gt;depth == bpp) 
+	} else if (image-&gt;depth &lt;= bpp) 
 		color_imageblit(image, p, dst1, start_index, pitch_index);
 }
 

_
</pre></body></html>