This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
RE: RE: Weird color!
- To: "Quek Hong Cheang" <quekhc at altavista dot com>, <cygwin-xfree at sources dot redhat dot com>
- Subject: RE: RE: Weird color!
- From: "Harold Hunt" <huntharo at msu dot edu>
- Date: Wed, 3 Oct 2001 01:22:12 -0400
Quek,
Oddly, I was thinking of a modification to the engine selection code that
turned out to be related to your problem. As before, DirectDraw engines do
not support windowed 8 bit color, as DirectDraw reserves the first and last
10 colors of each palette. However, the engine selection code was choosing
a DirectDraw engine, regardless of the current color depth and
windowed/fullscreen mode.
You could force the server to use the GDI engine, which works correctly in 8
bit windowed mode, by passing the '-engine 1' parameter to XWin.exe:
XWin.exe -engine 1
However, the aforementioned limitation will not be fixed anytime soon, so I
made XWin.exe select the GDI engine when using 8 bit color and not running
in fullscreen.
Server Test 49 incorporates those changes. You should try it, as it will
probably fix your problem.
Harold