Thanks Alexandre, I will have a look at it more closely as the inverted colors in monochrome bitmaps are maybe a more general problem - if BitBlt is using palette of both bitmaps and in copying from XImage into DIB it is inverted again - I will check it. Actually I discovered this first time as the palette is set to NULL (descr.palentry = NULL) in X11DRV_DIB_DoCopyDIBSection. Oldrich. Dne Thursday 01 of December 2005 18:37 Alexandre Julliard napsal(a):
Oldrich Jedlicka <oldium.pro(a)seznam.cz> writes:
This fixes colors in monochrome bitmaps that were overwritten by identity colormap every time.
Changelog:
* Remove the identity color map overwriting on all monochrome bitmaps
This breaks the tests:
bitmap.c:399: Test failed: lower left pixel is 00ff00ff bitmap.c:400: Test failed: bottom but one, left pixel is 0000ff00