mirror of
https://github.com/reactos/wine.git
synced 2024-12-11 13:26:00 +00:00
d3d9/tests: Extend the sysmem texture mipmap test.
This commit is contained in:
parent
7e079b0617
commit
799c2fb866
@ -556,6 +556,13 @@ static void test_texture_sysmem_create(void)
|
||||
hr = IDirect3DDevice9Ex_CreateTexture(device, 128, 128, 0, 0, D3DFMT_A8R8G8B8,
|
||||
D3DPOOL_SYSTEMMEM, &texture, &mem);
|
||||
ok(hr == D3DERR_INVALIDCALL, "Got unexpected hr %#x.\n", hr);
|
||||
hr = IDirect3DDevice9Ex_CreateTexture(device, 1, 1, 0, 0, D3DFMT_A8R8G8B8,
|
||||
D3DPOOL_SYSTEMMEM, &texture, &mem);
|
||||
ok(hr == D3DERR_INVALIDCALL, "Got unexpected hr %#x.\n", hr);
|
||||
hr = IDirect3DDevice9Ex_CreateTexture(device, 128, 128, 2, 0, D3DFMT_A8R8G8B8,
|
||||
D3DPOOL_SYSTEMMEM, &texture, &mem);
|
||||
ok(hr == D3DERR_INVALIDCALL, "Got unexpected hr %#x.\n", hr);
|
||||
|
||||
hr = IDirect3DDevice9Ex_CreateTexture(device, 128, 128, 1, 0, D3DFMT_A8R8G8B8,
|
||||
D3DPOOL_SYSTEMMEM, &texture, &mem);
|
||||
ok(SUCCEEDED(hr), "Failed to create texture, hr %#x.\n", hr);
|
||||
|
Loading…
Reference in New Issue
Block a user