d3d8: Release non implicit surfaces only if refcount is 0, with test.

Markus Amsler markus.amsler at oribi.org
Wed Dec 13 18:55:48 CST 2006


This fixes bug 6884, which is a regression from my implicit surface 
patch. The additional tests would have triggered the error.
---
  dlls/d3d8/surface.c      |   12 +++++++-----
  dlls/d3d8/tests/device.c |    3 +++
  2 files changed, 10 insertions(+), 5 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: eb205585f436475aaa27789c3b7ffb7a28bf527d.diff
Type: text/x-patch
Size: 2113 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20061214/1e0f59b1/eb205585f436475aaa27789c3b7ffb7a28bf527d.bin


More information about the wine-patches mailing list