Commit b4360872 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

d3d9/tests: Fix a test failure on Windows XP with the default VGA driver.

parent 375d8a39
......@@ -216,7 +216,10 @@ static IDirect3DDevice9 *init_d3d9(void)
ok(hr == D3D_OK, "Failed to get adapter identifier description\n");
trace("Driver string: \"%s\"\n", identifier.Driver);
trace("Description string: \"%s\"\n", identifier.Description);
ok(identifier.Description[0] != '\0', "Empty driver description\n");
/* Only Windows XP's default VGA driver should have an empty description */
ok(identifier.Description[0] != '\0' ||
broken(strcmp(identifier.Driver, "vga.dll") == 0),
"Empty driver description\n");
trace("Device name string: \"%s\"\n", identifier.DeviceName);
ok(identifier.DeviceName[0] != '\0', "Empty device name\n");
trace("Driver version %d.%d.%d.%d\n",
......
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