mirror of
https://github.com/Drezil/imgui.git
synced 2025-04-01 17:02:45 +00:00
Examples: Tweaks formatting.
This commit is contained in:
parent
bebe03db05
commit
955d86199f
@ -39,7 +39,6 @@ HRESULT CreateDeviceD3D(HWND hWnd)
|
|||||||
{
|
{
|
||||||
// Setup swap chain
|
// Setup swap chain
|
||||||
DXGI_SWAP_CHAIN_DESC sd;
|
DXGI_SWAP_CHAIN_DESC sd;
|
||||||
{
|
|
||||||
ZeroMemory(&sd, sizeof(sd));
|
ZeroMemory(&sd, sizeof(sd));
|
||||||
sd.BufferCount = 2;
|
sd.BufferCount = 2;
|
||||||
sd.BufferDesc.Width = 0;
|
sd.BufferDesc.Width = 0;
|
||||||
@ -54,7 +53,6 @@ HRESULT CreateDeviceD3D(HWND hWnd)
|
|||||||
sd.SampleDesc.Quality = 0;
|
sd.SampleDesc.Quality = 0;
|
||||||
sd.Windowed = TRUE;
|
sd.Windowed = TRUE;
|
||||||
sd.SwapEffect = DXGI_SWAP_EFFECT_DISCARD;
|
sd.SwapEffect = DXGI_SWAP_EFFECT_DISCARD;
|
||||||
}
|
|
||||||
|
|
||||||
UINT createDeviceFlags = 0;
|
UINT createDeviceFlags = 0;
|
||||||
//createDeviceFlags |= D3D10_CREATE_DEVICE_DEBUG;
|
//createDeviceFlags |= D3D10_CREATE_DEVICE_DEBUG;
|
||||||
|
@ -39,7 +39,6 @@ HRESULT CreateDeviceD3D(HWND hWnd)
|
|||||||
{
|
{
|
||||||
// Setup swap chain
|
// Setup swap chain
|
||||||
DXGI_SWAP_CHAIN_DESC sd;
|
DXGI_SWAP_CHAIN_DESC sd;
|
||||||
{
|
|
||||||
ZeroMemory(&sd, sizeof(sd));
|
ZeroMemory(&sd, sizeof(sd));
|
||||||
sd.BufferCount = 2;
|
sd.BufferCount = 2;
|
||||||
sd.BufferDesc.Width = 0;
|
sd.BufferDesc.Width = 0;
|
||||||
@ -54,7 +53,6 @@ HRESULT CreateDeviceD3D(HWND hWnd)
|
|||||||
sd.SampleDesc.Quality = 0;
|
sd.SampleDesc.Quality = 0;
|
||||||
sd.Windowed = TRUE;
|
sd.Windowed = TRUE;
|
||||||
sd.SwapEffect = DXGI_SWAP_EFFECT_DISCARD;
|
sd.SwapEffect = DXGI_SWAP_EFFECT_DISCARD;
|
||||||
}
|
|
||||||
|
|
||||||
UINT createDeviceFlags = 0;
|
UINT createDeviceFlags = 0;
|
||||||
//createDeviceFlags |= D3D11_CREATE_DEVICE_DEBUG;
|
//createDeviceFlags |= D3D11_CREATE_DEVICE_DEBUG;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user