Commit 5f8e6cb5 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

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

parent 141b995b
......@@ -1966,7 +1966,7 @@ static void resource_test_data_init(IDirect3DDevice9 *device,
data->tex = HeapAlloc(GetProcessHeap(), 0, arg->tex_count * sizeof(*data->tex));
for (i = 0; i < arg->tex_count; ++i)
{
hr = IDirect3DDevice9_CreateTexture(device, 64, 64, 0, D3DUSAGE_DYNAMIC,
hr = IDirect3DDevice9_CreateTexture(device, 64, 64, 0, 0,
D3DFMT_A8R8G8B8, D3DPOOL_DEFAULT, &data->tex[i], NULL);
ok(SUCCEEDED(hr), "CreateTexture (%u) returned %#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