From d8a33b09528f289e99195f5f6b2e5d90605b759b Mon Sep 17 00:00:00 2001 From: gbeauche <> Date: Fri, 24 Jun 2005 22:31:28 +0000 Subject: [PATCH] Direct Color visual is OK for fbdev dga. --- SheepShaver/src/Unix/video_x.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SheepShaver/src/Unix/video_x.cpp b/SheepShaver/src/Unix/video_x.cpp index 98305be1..5bffd1e1 100644 --- a/SheepShaver/src/Unix/video_x.cpp +++ b/SheepShaver/src/Unix/video_x.cpp @@ -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; }