Skip to content

Commit e7d3ace

Browse files
committed
Fixing style.
1 parent bb16895 commit e7d3ace

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/dxgi.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,8 @@ namespace bgfx
498498

499499
IDXGIFactory2* factory2;
500500
hr = m_factory->QueryInterface(IID_IDXGIFactory2, (void**)&factory2);
501-
if (SUCCEEDED(hr)) {
501+
if (SUCCEEDED(hr) )
502+
{
502503
DX_RELEASE_I(factory2);
503504
DXGI_SWAP_CHAIN_DESC1 scd;
504505
scd.Width = _scd.width;
@@ -529,7 +530,8 @@ namespace bgfx
529530
, reinterpret_cast<IDXGISwapChain1**>(_swapChain)
530531
);
531532
}
532-
else {
533+
else
534+
{
533535
DXGI_SWAP_CHAIN_DESC scd;
534536
scd.BufferDesc.Width = _scd.width;
535537
scd.BufferDesc.Height = _scd.height;

0 commit comments

Comments
 (0)