[PATCH 3/5] wined3d: Handle zero primitive count.

Alexander Dorofeyev alexd4 at inbox.lv
Sat Mar 22 18:59:48 CDT 2008

Native can handle zero primitive count both when using old interfaces (execute 
buffers etc) and when using d3d8 interface. Wine can crash in drawprim.c 
routines like drawStridedSlow and possibly others too, so filter it out in 
IWineD3DDeviceImpl_DrawIndexedPrimitiveUP. Fixes crash in Forsaken.
  dlls/wined3d/device.c |    2 ++
  1 files changed, 2 insertions(+), 0 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: b9d71a7650483ff089524c029e78192074924459.diff
Type: text/x-patch
Size: 629 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080323/ff86b83f/attachment.bin 

More information about the wine-patches mailing list