d3dx9/tests: Fix messed up parameters.
This commit is contained in:
parent
5ab8c2fdf8
commit
091a4269ef
|
@ -473,7 +473,7 @@ static void test_D3DXCreateTexture(IDirect3DDevice9 *device)
|
||||||
|
|
||||||
IDirect3DDevice9_GetDeviceCaps(device, &caps);
|
IDirect3DDevice9_GetDeviceCaps(device, &caps);
|
||||||
|
|
||||||
hr = D3DXCreateTexture(NULL, 0, 0, 0, 0, D3DX_DEFAULT, 0, D3DPOOL_DEFAULT);
|
hr = D3DXCreateTexture(NULL, 0, 0, 0, 0, D3DX_DEFAULT, D3DPOOL_DEFAULT, NULL);
|
||||||
ok(hr == D3DERR_INVALIDCALL, "D3DXCreateTexture returned %#x, expected %#x\n", hr, D3DERR_INVALIDCALL);
|
ok(hr == D3DERR_INVALIDCALL, "D3DXCreateTexture returned %#x, expected %#x\n", hr, D3DERR_INVALIDCALL);
|
||||||
|
|
||||||
/* width and height tests */
|
/* width and height tests */
|
||||||
|
|
Loading…
Reference in New Issue