[3/6] ddraw: fix palette handling in IDirect3DTexture_Load

Alexander Dorofeyev alexd4 at inbox.lv
Sun Feb 17 19:36:46 CST 2008


This fixes a potential refcounting problem and makes the function fail with NULL 
destination texture's palette and non-NULL source palette like it does on native.
---
  dlls/ddraw/texture.c |   10 +++-------
  1 files changed, 3 insertions(+), 7 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: caa915870aae020d56bb78e424352bc69b59d477.diff
Type: text/x-patch
Size: 823 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080217/7f226deb/attachment.bin 


More information about the wine-patches mailing list