Commit 31ca59f0 authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

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

parent c7d77448
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment