[PATCH 1/1] d3dx9: Fix ID3DXEffect::SetStateManager().

Rico Schüller kgbricola at web.de
Tue Jun 28 15:49:44 CDT 2011


Some apps set the same manager again, but without holding a reference. 
So Release() before AddRef() would destroy the manager.
---
  dlls/d3dx9_36/effect.c |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-d3dx9-Fix-ID3DXEffect-SetStateManager.txt
Type: text/x-patch
Size: 506 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20110628/50f118b5/attachment.bin>


More information about the wine-patches mailing list