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

Stefan Dösinger stefan at codeweavers.com
Sun Mar 23 07:14:10 CDT 2008

Am Sonntag, 23. März 2008 00:59:48 schrieb Alexander Dorofeyev:
> 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(-)
How will this work for other drawing functions? Shouldn't you filter it in the 
common drawPrimive() in drawprim.c?

More information about the wine-devel mailing list