[PATCH 4/5] wined3d: Only prepare the texture in device_update_volume().
Henri Verbeet
hverbeet at codeweavers.com
Wed Oct 8 01:47:21 CDT 2014
---
dlls/wined3d/device.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c
index aa97c7d..ee3636e 100644
--- a/dlls/wined3d/device.c
+++ b/dlls/wined3d/device.c
@@ -3481,7 +3481,8 @@ static HRESULT device_update_volume(struct wined3d_device *device,
context = context_acquire(device, NULL);
- wined3d_volume_load(dst_volume, context, FALSE);
+ /* Only a prepare, since we're uploading the entire volume. */
+ wined3d_texture_prepare_texture(dst_volume->container, context, FALSE);
data.buffer_object = 0;
data.addr = src.data;
--
1.7.10.4
More information about the wine-patches
mailing list