Direct Color visual is OK for fbdev dga.

This commit is contained in:
gbeauche 2005-06-24 22:31:28 +00:00
parent 26ee263b6f
commit d8a33b0952

View File

@ -697,7 +697,7 @@ static bool open_fbdev_dga(int width, int height)
}
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));
return false;
}