wined3d: Make sure the correct texture is bound in device_update_volume.

This commit is contained in:
Matteo Bruni 2015-02-18 14:20:49 +01:00 committed by Alexandre Julliard
parent b47695bf3a
commit 7c4d512fee
1 changed files with 1 additions and 0 deletions

View File

@ -3501,6 +3501,7 @@ static HRESULT device_update_volume(struct wined3d_device *device,
/* Only a prepare, since we're uploading the entire volume. */
wined3d_texture_prepare_texture(dst_volume->container, context, FALSE);
wined3d_texture_bind(dst_volume->container, context, FALSE);
data.buffer_object = 0;
data.addr = src.data;