attempt to match previous coding styles
This commit is contained in:
committed by
ReenigneArcher
parent
56dedbde7f
commit
9a1bfebd03
@@ -213,14 +213,14 @@ test_dxgi_duplication(dxgi::adapter_t &adapter, dxgi::output_t &output) {
|
|||||||
nullptr);
|
nullptr);
|
||||||
|
|
||||||
if (FAILED(status)) {
|
if (FAILED(status)) {
|
||||||
std::cout << "Failed to create D3D11 device for DD test [0x" << std::hex << status << "]" << std::endl;
|
std::cout << "Failed to create D3D11 device for DD test [0x"sv << util::hex(status).to_string_view() << ']' << std::endl;
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
dxgi::output1_t output1;
|
dxgi::output1_t output1;
|
||||||
status = output->QueryInterface(IID_IDXGIOutput1, (void **) &output1);
|
status = output->QueryInterface(IID_IDXGIOutput1, (void **) &output1);
|
||||||
if (FAILED(status)) {
|
if (FAILED(status)) {
|
||||||
std::cout << "Failed to query IDXGIOutput1 from the output [0x" << std::hex << status << "]" << std::endl;
|
std::cout << "Failed to query IDXGIOutput1 from the output [0x"sv << util::hex(status).to_string_view() << "]" << std::endl;
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -239,12 +239,12 @@ test_dxgi_duplication(dxgi::adapter_t &adapter, dxgi::output_t &output) {
|
|||||||
return S_OK;
|
return S_OK;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
std::cout << "Frame capture test failed [0x" << std::hex << captureResult << "]" << std::endl;
|
std::cout << "Frame capture test failed [0x"sv << util::hex(captureResult).to_string_view() << "]" << std::endl;
|
||||||
return captureResult;
|
return captureResult;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
std::cout << "Failed to duplicate output [0x" << std::hex << result << "]" << std::endl;
|
std::cout << "Failed to duplicate output [0x"sv << util::hex(result).to_string_view() << "]" << std::endl;
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user