[prev in list] [next in list] [prev in thread] [next in thread]
List: wine-devel
Subject: Re: [4/5] d3dx9: Implement D3DXCreateVolumeTextureFromFileInMemoryEx.
From: Matteo Bruni <matteo.mystral () gmail ! com>
Date: 2012-06-28 12:28:26
Message-ID: CABvNrtPfqRLGKpkHWw58CpwdNLc1h=xRrCtEko6O8yLAnUtykg () mail ! gmail ! com
[Download RAW message or body]
2012/6/27 Józef Kucia <joseph.kucia@gmail.com>:
> ---
> + for (mip_level = 0; mip_level < mip_levels; mip_level++)
> + {
> + hr = calculate_dds_surface_size(src_info, width, height, &src_pitch, &mip_level_size);
> + if (FAILED(hr)) return hr;
...
> + hr = D3DXLoadVolumeFromMemory(volume, palette, NULL, pixels, src_info->Format,
> + src_pitch, mip_level_size, NULL, &box, filter, color_key);
mip_level_size would be the source slice pitch, right? I'd just call
it like that.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic