Jens Albretsen : ddraw: Test for IDirect3DTexture_Load of Texture into itself.
Alexandre Julliard
julliard at winehq.org
Wed May 28 14:45:52 CDT 2008
Module: wine
Branch: master
Commit: a2b645128f01980a832f7906d83b5e7fa4bea8d3
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a2b645128f01980a832f7906d83b5e7fa4bea8d3
Author: Jens Albretsen <jens at albretsen.dk>
Date: Thu May 22 23:33:31 2008 +0200
ddraw: Test for IDirect3DTexture_Load of Texture into itself.
---
dlls/ddraw/tests/d3d.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/dlls/ddraw/tests/d3d.c b/dlls/ddraw/tests/d3d.c
index 1f71235..43cdb3a 100644
--- a/dlls/ddraw/tests/d3d.c
+++ b/dlls/ddraw/tests/d3d.c
@@ -1445,6 +1445,10 @@ static void TextureLoadTest(void)
goto cleanup;
}
+ /* test load of Texture to Texture */
+ hr = IDirect3DTexture_Load(Texture, Texture);
+ ok(hr == DD_OK, "IDirect3DTexture_Load returned %08x\n", hr);
+
/* test Load when both textures have no palette */
hr = IDirect3DTexture_Load(Texture2, Texture);
ok(hr == DD_OK, "IDirect3DTexture_Load returned %08x\n", hr);
More information about the wine-cvs
mailing list