Commit ba872994 authored by Jörg Höhle's avatar Jörg Höhle Committed by Alexandre Julliard

d3d9/tests: Detect empty graphics driver name.

parent 3e6eab3f
......@@ -182,7 +182,9 @@ 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");
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",
HIWORD(U(identifier.DriverVersion).HighPart), LOWORD(U(identifier.DriverVersion).HighPart),
HIWORD(U(identifier.DriverVersion).LowPart), LOWORD(U(identifier.DriverVersion).LowPart));
......
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