wined3d: Use wined3d_texture_bind_and_dirtify() in device_update_volume().

I missed this in 7c4d512fee. Generally speaking,
the only places where plain wined3d_texture_bind() calls are appropriate are
places where you're binding the texture to a specific stage for a subsequent
draw. I.e., places where context_active_texture() is called first.
This commit is contained in:
Henri Verbeet 2015-04-16 11:26:34 +02:00 committed by Alexandre Julliard
parent 52478e3809
commit 5c9da580a8
1 changed files with 1 additions and 1 deletions
dlls/wined3d

View File

@ -3511,7 +3511,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);
wined3d_texture_bind_and_dirtify(dst_volume->container, context, FALSE);
data.buffer_object = 0;
data.addr = src.data;