wined3d: Actually use the calculated mipmap surface sizes in IWineD3DDeviceImpl_CreateVolumeTexture.

This commit is contained in:
H. Verbeet 2007-04-23 22:02:55 +02:00 committed by Alexandre Julliard
parent b643ab3620
commit af8e6ed14a
1 changed files with 1 additions and 1 deletions

View File

@ -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)) {