d3d9: fix two copy and paste mistakes.
authorRico Schüller <kgbricola@web.de>
Sun, 6 Apr 2008 08:37:22 +0000 (10:37 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 7 Apr 2008 10:05:13 +0000 (12:05 +0200)
dlls/d3d9/tests/visual.c

index 6d9ad3908a3b589fbf240616fe8556705c818783..76623e67121f8a5da793ad1496644bd80106948d 100644 (file)
@@ -2761,9 +2761,9 @@ static void release_buffer_test(IDirect3DDevice9 *device)
     ok(hr == D3D_OK, "IDirect3DIndexBuffer9_Unlock failed with %s\n", DXGetErrorString9(hr));
 
     hr = IDirect3DDevice9_SetIndices(device, ib);
-    ok(hr == D3D_OK, "IDirect3DIndexBuffer8_Unlock failed with %s\n", DXGetErrorString9(hr));
+    ok(hr == D3D_OK, "IDirect3DDevice9_SetIndices failed with %s\n", DXGetErrorString9(hr));
     hr = IDirect3DDevice9_SetStreamSource(device, 0, vb, 0, sizeof(quad[0]));
-    ok(hr == D3D_OK, "IDirect3DIndexBuffer8_Unlock failed with %s\n", DXGetErrorString9(hr));
+    ok(hr == D3D_OK, "IDirect3DDevice9_SetStreamSource failed with %s\n", DXGetErrorString9(hr));
     hr = IDirect3DDevice9_SetFVF(device, D3DFVF_XYZ | D3DFVF_DIFFUSE);
     ok(hr == D3D_OK, "IDirect3DDevice9_SetFVF failed with %s\n", DXGetErrorString9(hr));