Regression in CreateDIBSection

Mehmet YASAR myasar at free.fr
Fri May 10 13:59:44 CDT 2002


David Hammerton wrote:
 > Hmm,
 >
 > Although that patch is correct, it seems that there is another bug - when
 > calling [Set|Get]DIBits we really should be locking the DIBSection so 
that it
 > coerces properly before the write/read. These use the DIBSection in 
GdiMod.
 >
 > This patch fixes it.
 >
 > David.
 >
 > Changelog:
 > 	- Lock/unlock (and hence maybe coerce) DIBSections into GdiMod during
 > the SetDIBits and GetDIBits functions, before actually accessing the 
X Pixmap.
 >
 > Licence: MIT/X11
 >
 > Files affected:
 > 	graphics/x11drv/dib.c
 >
 > Patch Against:
 > 	ReWind CVS 10 may 2002

I confirm that's fixing BabyGammon.
Thanks,

Mehmet






More information about the wine-devel mailing list