Matteo Bruni : wined3d: Make sure the correct texture is bound in device_update_volume.
Module: wine Branch: master Commit: 7c4d512fee752876b4ce95f1f97308f6a291b010 URL: http://source.winehq.org/git/wine.git/?a=commit;h=7c4d512fee752876b4ce95f1f9... Author: Matteo Bruni <mbruni(a)codeweavers.com> Date: Wed Feb 18 14:20:49 2015 +0100 wined3d: Make sure the correct texture is bound in device_update_volume. --- dlls/wined3d/device.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c index 649f324..8cab927 100644 --- a/dlls/wined3d/device.c +++ b/dlls/wined3d/device.c @@ -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;
participants (1)
-
Alexandre Julliard