Henri Verbeet : wined3d: Just return the buffer from wined3d_device_get_index_buffer().