Rico Schüller : d3d9: fix two copy and paste mistakes.

Alexandre Julliard julliard at winehq.org
Mon Apr 7 06:50:47 CDT 2008


Module: wine
Branch: master
Commit: 29713df8d93bf8cfc1b97b5d6e790c263a3bd4a1
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=29713df8d93bf8cfc1b97b5d6e790c263a3bd4a1

Author: Rico Schüller <kgbricola at web.de>
Date:   Sun Apr  6 10:37:22 2008 +0200

d3d9: fix two copy and paste mistakes.

---

 dlls/d3d9/tests/visual.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/d3d9/tests/visual.c b/dlls/d3d9/tests/visual.c
index 6d9ad39..76623e6 100644
--- a/dlls/d3d9/tests/visual.c
+++ b/dlls/d3d9/tests/visual.c
@@ -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));
 




More information about the wine-cvs mailing list