d3d9/tests: Fix copy-paste error (coverity).

This commit is contained in:
André Hentschel 2012-10-24 19:27:02 +02:00 committed by Alexandre Julliard
parent c7d7744860
commit 31ca59f0b5

View file

@ -2751,7 +2751,7 @@ static void stretchrect_test(IDirect3DDevice9 *device)
hr = IDirect3DTexture9_GetSurfaceLevel(tex_rt_dest64, 0, &surf_tex_rt_dest64);
ok(hr == D3D_OK, "IDirect3DTexture9_GetSurfaceLevel failed with %08x\n", hr);
}
if (tex_rt_dest64) {
if (tex_rt_dest640_480) {
hr = IDirect3DTexture9_GetSurfaceLevel(tex_rt_dest640_480, 0, &surf_tex_rt_dest640_480);
ok(hr == D3D_OK, "IDirect3DTexture9_GetSurfaceLevel failed with %08x\n", hr);
}