wined3d: Disable vertex arrays after we're done drawing from them.
commitea905eab09e325b425f3e392ddddf0e8861c3bd8
authorH. Verbeet <hverbeet@gmail.com>
Thu, 3 Aug 2006 19:53:16 +0000 (3 21:53 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 4 Aug 2006 09:58:43 +0000 (4 11:58 +0200)
treeed27ae62c322767063e3f9be8cc6a9443c890ada
parent99056d7e2ac56e11a4f6c101463c705abb611bf1
wined3d: Disable vertex arrays after we're done drawing from them.

After drawing from a vertex array we should disable them, to prevent
the next draw calls from potentially reading past their ends. This
also moves the disabling of vertex attrib arrays (for shaders) into
its own function.
dlls/wined3d/drawprim.c