Fix BitBlt

Maxime Bellengé maxime.bellenge at
Tue Oct 14 12:05:57 CDT 2003

The game neverwinter nights uses a lot of MaskBlt on its startup screen.
The game was crashing with BadDrawable X error messages.

This was caused by bitblt using the XCopyArea function when there is no
source. Some MaskBlt operations can generate such things, as the list of
different masks on MSDN shows.

    * Prevent a crash with a BadDrawable X error message with some
MaskBlt calls.

Maxime Bellengé <maxime.bellenge at>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bitblt.patch
Type: text/x-patch
Size: 826 bytes
Desc: not available
Url :

More information about the wine-patches mailing list