Commit 141b995b authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

d3d8/tests: Don't require dynamic usage for textures in the stateblock tests.

Not all cards support dynamic usage textures, and we don't actually need it.
parent a638bff5
......@@ -1737,7 +1737,7 @@ static void resource_test_data_init(IDirect3DDevice8 *device,
data->tex = HeapAlloc(GetProcessHeap(), 0, arg->tex_count * sizeof(*data->tex));
for (i = 0; i < arg->tex_count; ++i)
{
hr = IDirect3DDevice8_CreateTexture(device, 64, 64, 0, D3DUSAGE_DYNAMIC,
hr = IDirect3DDevice8_CreateTexture(device, 64, 64, 0, 0,
D3DFMT_A8R8G8B8, D3DPOOL_DEFAULT, &data->tex[i]);
ok(SUCCEEDED(hr), "CreateTexture (%u) returned hr %#x.\n", i, 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