On 20 May 2010 23:05, Owen Rudge <[email protected]> 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?
