projects
/
grub.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
641bb15
)
video_fb: Fix blue collor if using unoptimized blitter.
author
Vladimir Serbinenko
<phcoder@gmail.com>
Thu, 9 Feb 2017 01:22:24 +0000
(
02:22
+0100)
committer
Vladimir Serbinenko
<phcoder@gmail.com>
Mon, 27 Feb 2017 01:58:50 +0000
(
01:58
+0000)
when unmapping the color what matters is the mode of source, not target.
grub-core/video/fb/video_fb.c
patch
|
blob
|
history
diff --git
a/grub-core/video/fb/video_fb.c
b/grub-core/video/fb/video_fb.c
index
722bb3b
..
1a602c8
100644
(file)
--- a/
grub-core/video/fb/video_fb.c
+++ b/
grub-core/video/fb/video_fb.c
@@
-743,7
+743,7
@@
grub_video_fb_unmap_color_int (struct grub_video_fbblit_info * source,
if ((mode_info->mode_type
& GRUB_VIDEO_MODE_TYPE_INDEX_COLOR) != 0)
{
- if ((
framebuffer.render_target->mode_info.
mode_type
+ if ((
mode_info->
mode_type
& GRUB_VIDEO_MODE_TYPE_ALPHA) != 0
&& color == 0xf0)
{