Józef Kucia : d3dx9/tests: Fix messed up parameters.
Module: wine Branch: master Commit: 091a4269ef682b90df77603681ba56168b7546f4 URL: http://source.winehq.org/git/wine.git/?a=commit;h=091a4269ef682b90df77603681... Author: Józef Kucia <joseph.kucia(a)gmail.com> Date: Thu May 17 16:51:23 2012 +0200 d3dx9/tests: Fix messed up parameters. --- dlls/d3dx9_36/tests/texture.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/d3dx9_36/tests/texture.c b/dlls/d3dx9_36/tests/texture.c index 143d45b..5663bfa 100644 --- a/dlls/d3dx9_36/tests/texture.c +++ b/dlls/d3dx9_36/tests/texture.c @@ -473,7 +473,7 @@ static void test_D3DXCreateTexture(IDirect3DDevice9 *device) 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); /* width and height tests */
participants (1)
-
Alexandre Julliard