Henri Verbeet : wined3d: Avoid volume_from_resource() in texture3d_prepare_texture().