[1/4] wined3d: Don't allow a negative lock_count in buffer_Unmap.

Rico Schüller kgbricola at web.de
Wed Jun 10 13:04:45 CDT 2009


Hi,

this patch adds a check in buffer_Unamp to not allow a negative 
lock_count, which will result in a broken return value on the next Map 
call to the same interface. This fixes bug 18824. The patches 2-4 are 
test cases for d3d8, d3d9 and ddraw.

Cheers
Rico

---
  dlls/wined3d/buffer.c |   10 ++++++++++
  1 files changed, 10 insertions(+), 0 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: c6073da01581f8d7f055a52b1a63eddacd8bd0c6.diff
Type: text/x-patch
Size: 784 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20090610/eaf12ae1/attachment.bin>


More information about the wine-patches mailing list