ddraw: Test for IDirect3DTexture_Load of Texture into itself.

This commit is contained in:
Jens Albretsen 2008-05-22 23:33:31 +02:00 committed by Alexandre Julliard
parent 46ef2e06fc
commit a2b645128f

View file

@ -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);