Henri Verbeet : wined3d: Pass the vertex count rather than the primitive count to wined3d draw methods .