GDI32: GetSystemPaletteEntries should fill with default palette in non-palette video mode (with tests)

Alex Villací­s Lasso a_villacis at
Thu Dec 6 15:55:13 CST 2007

Patches originally by Alexander Dorofeyev <alexd14 at>.

This patch tries to fix bug #201 (igowin shows black squares instead of 
proper transparency). It was sent back in October, but there was no 
feedback back then. So I am resending a rediff against current git.

* GetSystemPaletteEntries() should fill entries with default 20-color 
system palette when called in a non-palette video mode.
* Tests for above behavior.

perl -e '$x=2.4;print sprintf("%.0f + %.0f = %.0f\n",$x,$x,$x+$x);'

-------------- next part --------------
A non-text attachment was scrubbed...
Name: wine-gdi32-GetSystemPaletteEntries-non-palette-mode.patch
Type: text/x-patch
Size: 4405 bytes
Desc: not available
Url : 

More information about the wine-patches mailing list