d3d9/tests: Detect empty graphics driver name.

This commit is contained in:
Jörg Höhle 2009-07-11 16:05:41 +02:00 committed by Alexandre Julliard
parent 3e6eab3fd9
commit ba87299402

View File

@ -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));