[D3D12] Code style fixes

This commit is contained in:
Triang3l
2018-10-07 17:30:12 +03:00
parent 400e6b7137
commit 3de2b5e692
5 changed files with 15 additions and 17 deletions

View File

@@ -74,9 +74,9 @@ bool D3D12Context::Initialize() {
swap_chain_desc.Flags = 0;
IDXGISwapChain1* swap_chain_1;
if (FAILED(dxgi_factory->CreateSwapChainForHwnd(
provider->GetDirectQueue(),
static_cast<HWND>(target_window_->native_handle()), &swap_chain_desc,
nullptr, nullptr, &swap_chain_1))) {
provider->GetDirectQueue(),
static_cast<HWND>(target_window_->native_handle()),
&swap_chain_desc, nullptr, nullptr, &swap_chain_1))) {
XELOGE("Failed to create a DXGI swap chain");
Shutdown();
return false;