https://bugs.winehq.org/show_bug.cgi?id=44863
--- Comment #10 from Henri Verbeet hverbeet@gmail.com --- The way this works in current ddraw/wined3d is quite different, so I suspect not much of the original analysis still applies.
Is the application using d3d_device3_DrawIndexedPrimitiveVB() with that particular vertex buffer? We currently pass "vb->size / stride" as "vertex_count" to d3d_device7_DrawIndexedPrimitiveVB(). Perhaps it would be advantageous to determine actual upper and lower vertex indices when "index_count" is significantly smaller than the number of vertices contained in the vertex buffer.