wined3d: Restore the index buffer when switching from UP to buffer drawing.
authorStefan Dösinger <stefan@codeweavers.com>
Fri, 9 Mar 2007 23:44:46 +0000 (00:44 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 12 Mar 2007 11:01:45 +0000 (12:01 +0100)
commit850bd7b4140e448dabce0385d5b695ff6ec3b531
tree95d7e93f0894617f9b245163b1e7d10fd44041dc
parent39fb7839a70d1b06073e429f457e6271c2bc7ce3
wined3d: Restore the index buffer when switching from UP to buffer drawing.

The state handler binds index buffer 0 when a user pointer is used. Likewise the real index
buffer has to be restored when switching back to drawing from index buffers.
dlls/wined3d/device.c