This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: RE: Weird color!


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]