Henri Verbeet : wined3d: Only prepare the texture in device_update_volume( ).
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Oct 8 14:09:27 CDT 2014
Module: wine
Branch: master
Commit: 4c454fd4abc29a8a45ef35c97a52dfe5070993cf
URL: http://source.winehq.org/git/wine.git/?a=commit;h=4c454fd4abc29a8a45ef35c97a52dfe5070993cf
Author: Henri Verbeet <hverbeet at codeweavers.com>
Date: Wed Oct 8 08:47:21 2014 +0200
wined3d: Only prepare the texture in device_update_volume().
---
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;
More information about the wine-cvs
mailing list