OSDN Git Service

decrease the current vertex count by 1 if an uneven number of vertices is copied...
authorRoland Scheidegger <rscheidegger@gmx.ch>
Wed, 22 Nov 2006 22:07:35 +0000 (22:07 +0000)
committerRoland Scheidegger <rscheidegger@gmx.ch>
Wed, 22 Nov 2006 22:07:35 +0000 (22:07 +0000)
commit46e454863ea9dbe8618a67fb5b4b4a8c51607995
treefdbc5d94f9c1917e3a5355a2d26f07ba816dfc5b
parent40c7cb7e1768cd694bdfc6864cf3a55254ffce56
decrease the current vertex count by 1 if an uneven number of vertices is copied by _tnl_copy_vertices. Otherwise, since in this case it will copy an extra vertex to avoid problems with vertex order in the new buffer, one triangle will be drawn twice. This fixes bug #9062.
src/mesa/tnl/t_vtx_exec.c