wined3d: Fix the drawRectPatch vertex count.
commit99d88c15ea092a29542661205a856792dcdb44eb
authorStefan Dösinger <stefan@codeweavers.com>
Fri, 20 Mar 2009 18:16:52 +0000 (20 19:16 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 10 Apr 2009 09:14:45 +0000 (10 11:14 +0200)
tree2a36062ff64877dee5f348588241e218e0321483
parent014c4bfc70a4d4e60f033d579d1be13a46f65170
wined3d: Fix the drawRectPatch vertex count.

DrawPrimitive now accepts the number of vertices, not the number of
primitives. This code was forgotten in the patch that changed this.
We're drawing triangles, so we are drawing num_primitives * 3 vertices.
dlls/wined3d/device.c