mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-09-07 16:54:28 +00:00
Direct Color visual is OK for fbdev dga.
This commit is contained in:
parent
26ee263b6f
commit
d8a33b0952
@ -697,7 +697,7 @@ static bool open_fbdev_dga(int width, int height)
|
|||||||
}
|
}
|
||||||
D(bug("[fbdev] visual: %s\n", fb_visual_str));
|
D(bug("[fbdev] visual: %s\n", fb_visual_str));
|
||||||
|
|
||||||
if (fb_visual != FB_VISUAL_TRUECOLOR) {
|
if (fb_visual != FB_VISUAL_TRUECOLOR && fb_visual != FB_VISUAL_DIRECTCOLOR) {
|
||||||
D(bug("[fbdev] visual '%s' not supported\n", fb_visual_str));
|
D(bug("[fbdev] visual '%s' not supported\n", fb_visual_str));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user