From af8e6ed14aa0df39e78b08b9316c86bf73225db9 Mon Sep 17 00:00:00 2001 From: "H. Verbeet" Date: Mon, 23 Apr 2007 22:02:55 +0200 Subject: [PATCH] wined3d: Actually use the calculated mipmap surface sizes in IWineD3DDeviceImpl_CreateVolumeTexture. --- dlls/wined3d/device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c index e878c4a5d04..b6fae75f4b9 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)) {