d3d10/tests: Remove some device creation traces.
This commit is contained in:
parent
42f6ca821c
commit
3b13f08537
|
@ -26,17 +26,11 @@ static ID3D10Device *create_device(void)
|
||||||
ID3D10Device *device;
|
ID3D10Device *device;
|
||||||
|
|
||||||
if (SUCCEEDED(D3D10CreateDevice(NULL, D3D10_DRIVER_TYPE_HARDWARE, NULL, 0, D3D10_SDK_VERSION, &device)))
|
if (SUCCEEDED(D3D10CreateDevice(NULL, D3D10_DRIVER_TYPE_HARDWARE, NULL, 0, D3D10_SDK_VERSION, &device)))
|
||||||
{
|
|
||||||
trace("Created a HW device\n");
|
|
||||||
return device;
|
return device;
|
||||||
}
|
|
||||||
|
|
||||||
trace("Failed to create a HW device, trying REF\n");
|
trace("Failed to create a HW device, trying REF\n");
|
||||||
if (SUCCEEDED(D3D10CreateDevice(NULL, D3D10_DRIVER_TYPE_REFERENCE, NULL, 0, D3D10_SDK_VERSION, &device)))
|
if (SUCCEEDED(D3D10CreateDevice(NULL, D3D10_DRIVER_TYPE_REFERENCE, NULL, 0, D3D10_SDK_VERSION, &device)))
|
||||||
{
|
|
||||||
trace("Created a REF device\n");
|
|
||||||
return device;
|
return device;
|
||||||
}
|
|
||||||
|
|
||||||
trace("Failed to create a device, returning NULL\n");
|
trace("Failed to create a device, returning NULL\n");
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
|
@ -28,17 +28,11 @@ static ID3D10Device *create_device(void)
|
||||||
ID3D10Device *device;
|
ID3D10Device *device;
|
||||||
|
|
||||||
if (SUCCEEDED(D3D10CreateDevice(NULL, D3D10_DRIVER_TYPE_HARDWARE, NULL, 0, D3D10_SDK_VERSION, &device)))
|
if (SUCCEEDED(D3D10CreateDevice(NULL, D3D10_DRIVER_TYPE_HARDWARE, NULL, 0, D3D10_SDK_VERSION, &device)))
|
||||||
{
|
|
||||||
trace("Created a HW device\n");
|
|
||||||
return device;
|
return device;
|
||||||
}
|
|
||||||
|
|
||||||
trace("Failed to create a HW device, trying REF\n");
|
trace("Failed to create a HW device, trying REF\n");
|
||||||
if (SUCCEEDED(D3D10CreateDevice(NULL, D3D10_DRIVER_TYPE_REFERENCE, NULL, 0, D3D10_SDK_VERSION, &device)))
|
if (SUCCEEDED(D3D10CreateDevice(NULL, D3D10_DRIVER_TYPE_REFERENCE, NULL, 0, D3D10_SDK_VERSION, &device)))
|
||||||
{
|
|
||||||
trace("Created a REF device\n");
|
|
||||||
return device;
|
return device;
|
||||||
}
|
|
||||||
|
|
||||||
trace("Failed to create a device, returning NULL\n");
|
trace("Failed to create a device, returning NULL\n");
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
Loading…
Reference in New Issue