[4/6] d3dx9: Implement D3DXCreateTexture plus tests

Henri Verbeet hverbeet at gmail.com
Fri May 21 05:01:34 CDT 2010


On 20 May 2010 23:05, Owen Rudge <orudge at codeweavers.com> wrote:
> +    hr = D3DXCreateTexture(device, D3DX_DEFAULT, 63, 0, 0, 0, D3DPOOL_DEFAULT, &texture);
> +    ok(hr == D3D_OK, "D3DXCreateTexture returned %#x, expected %#x\n", hr, D3D_OK);
> +
> +    if (texture)
> +    {
> +        hr = IDirect3DTexture9_GetLevelDesc(texture, 0, &desc);
> +
> +        ok(desc.Width == 63, "Returned width %d, expected %d\n", desc.Width, 63);
> +        ok(desc.Height == 63, "Returned height %d, expected %d\n", desc.Height, 63);
Doesn't that depend on NPOT texture support in the device?



More information about the wine-devel mailing list