Elizabeth Figura (@zfigura) commented about dlls/d3d9/tests/device.c:
- todo_wine
- ok(ref == 0, "Got refcount %lu.\n", ref);
- ref = IDirect3DDevice9_Release(device);
- ok(ref == 0, "Got refcount %lu.\n", ref);
- IDirect3D9_Release(d3d9);
- memset(&override_list, 0, sizeof(override_list));
- override_list.Enable9On12 = TRUE;
- override_entries = 1;
- d3d9on12 = (void *)0xdeadbeef;
- hr = create_d3d9on12_device(&d3d9, window, &override_list, override_entries, &device, TRUE);
- if (FAILED(hr))
- {
skip("Failed to create a regular Direct3DDevice9, skipping d3d9on12 tests\n");
goto out;
- }
Do we need this check more than once? I think it's fair to assume that if it worked the first time it'll continue to work.