[2/4] wined3d: Actually use the calculated mipmap surface sizes in
IWineD3DDeviceImpl_CreateVolumeTexture
H. Verbeet
hverbeet at gmail.com
Mon Apr 23 15:02:55 CDT 2007
Should fix bug 8123.
Changelog:
- Actually use the calculated mipmap surface sizes in
IWineD3DDeviceImpl_CreateVolumeTexture
-------------- next part --------------
---
dlls/wined3d/device.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c
index e878c4a..b6fae75 100644
--- a/dlls/wined3d/device.c
+++ b/dlls/wined3d/device.c
@@ -930,7 +930,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl_CreateVolumeTexture(IWineD3DDevice *ifa
{
HRESULT hr;
/* Create the volume */
- hr = D3DCB_CreateVolume(This->parent, parent, Width, Height, Depth, Format, Pool, Usage,
+ hr = D3DCB_CreateVolume(This->parent, parent, tmpW, tmpH, tmpD, Format, Pool, Usage,
(IWineD3DVolume **)&object->volumes[i], pSharedHandle);
if(FAILED(hr)) {
More information about the wine-patches
mailing list