Fix Using DDraw to Access the Desktop

Robert Shearman rob at codeweavers.com
Mon Jul 25 10:04:29 CDT 2005


Hi,

Previously, using ddraw to write to a small area of the desktop (or even 
none at all) would cause the screen to go black because the contents of 
the screen wasn't copied to the surface before the surface was copied 
back to the screen. This patch fixes that.

Changelog:
Copy the current contents of the DC to the surface on locking so that 
when it is used to write to the desktop then the previous contents plus 
the updates are correctly written out.

-- 
Rob Shearman

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ddraw_surface_fix.diff
Type: text/x-patch
Size: 2114 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050725/affce1a0/ddraw_surface_fix.bin


More information about the wine-patches mailing list