diff options
Diffstat (limited to 'drivers/video/sysfillrect.c')
-rw-r--r-- | drivers/video/sysfillrect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/sysfillrect.c b/drivers/video/sysfillrect.c index 33ee3d34f9d..92fe0be25f6 100644 --- a/drivers/video/sysfillrect.c +++ b/drivers/video/sysfillrect.c @@ -256,7 +256,7 @@ void sys_fillrect(struct fb_info *p, const struct fb_fillrect *rect) p->fix.visual == FB_VISUAL_DIRECTCOLOR ) fg = ((u32 *) (p->pseudo_palette))[rect->color]; else - fg = rect->color; + fg = solid_color(p, rect->color); pat = pixel_to_pat( bpp, fg); |