Commit a2b64512 authored by Jens Albretsen's avatar Jens Albretsen Committed by Alexandre Julliard

ddraw: Test for IDirect3DTexture_Load of Texture into itself.

parent 46ef2e06
......@@ -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);
......
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