Fix BitBlt

Maxime Bellengé maxime.bellenge at laposte.net
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.

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

-- 
Maxime Bellengé <maxime.bellenge at laposte.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bitblt.patch
Type: text/x-patch
Size: 826 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20031014/bb100cd0/bitblt.bin


More information about the wine-patches mailing list