summaryrefslogtreecommitdiffstats
path: root/Projects/Asteroids/src/asteroids_DE.cpp
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-03-30 16:59:44 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-03-30 16:59:44 +0000
commit6e300d8c6a0c2157b8d804cd604dad6079429d8d (patch)
treef910f1082a8337f02abf91f949870cb6668a3f13 /Projects/Asteroids/src/asteroids_DE.cpp
parentFixed issue with Win32 MessageProc() not checking if g_pTheApp is null (diff)
downloadDiligentEngine-6e300d8c6a0c2157b8d804cd604dad6079429d8d.tar.gz
DiligentEngine-6e300d8c6a0c2157b8d804cd604dad6079429d8d.zip
Updated submodules; enabled fullscreen mode
Diffstat (limited to 'Projects/Asteroids/src/asteroids_DE.cpp')
-rw-r--r--Projects/Asteroids/src/asteroids_DE.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Projects/Asteroids/src/asteroids_DE.cpp b/Projects/Asteroids/src/asteroids_DE.cpp
index 296f05f..c27b6a1 100644
--- a/Projects/Asteroids/src/asteroids_DE.cpp
+++ b/Projects/Asteroids/src/asteroids_DE.cpp
@@ -75,7 +75,7 @@ void Asteroids::InitDevice(HWND hWnd, DeviceType DevType)
#endif
auto *pFactoryD3D11 = GetEngineFactoryD3D11();
pFactoryD3D11->CreateDeviceAndContextsD3D11( DeviceAttribs, &mDevice, ppContexts.data(), mNumSubsets-1 );
- pFactoryD3D11->CreateSwapChainD3D11( mDevice, ppContexts[0], SwapChainDesc, hWnd, &mSwapChain );
+ pFactoryD3D11->CreateSwapChainD3D11( mDevice, ppContexts[0], SwapChainDesc, FullScreenModeDesc{}, hWnd, &mSwapChain );
}
else
{
@@ -92,7 +92,7 @@ void Asteroids::InitDevice(HWND hWnd, DeviceType DevType)
#endif
auto *pFactoryD3D12 = GetEngineFactoryD3D12();
pFactoryD3D12->CreateDeviceAndContextsD3D12( Attribs, &mDevice, ppContexts.data(), mNumSubsets-1 );
- pFactoryD3D12->CreateSwapChainD3D12( mDevice, ppContexts[0], SwapChainDesc, hWnd, &mSwapChain );
+ pFactoryD3D12->CreateSwapChainD3D12( mDevice, ppContexts[0], SwapChainDesc, FullScreenModeDesc{}, hWnd, &mSwapChain );
}
mDeviceCtxt.Attach(ppContexts[0]);