ddraw: Improve IDirect3DDevice7_Load implementation.

Alexander Dorofeyev alexd4 at inbox.lv
Sun Jul 20 15:28:44 CDT 2008


Copies palette and colorkey earlier in the helper function, before copying 
image, also skips UpdateSurface when palette is missing. This prevents 
unnecessary surface (re)loads in wined3d, and gets rid of some wined3d palette 
error messages in Sacrifice.
---
  dlls/ddraw/device.c |   69 +++++++++++++++++++++++++++++---------------------
  1 files changed, 40 insertions(+), 29 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 576cabad67fdba451a4465986baeefe932a1072c.diff
Type: text/x-patch
Size: 4264 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080720/16117caa/attachment-0001.bin 


More information about the wine-patches mailing list