summaryrefslogtreecommitdiffstats
path: root/Projects/Asteroids/src/asteroids_DE.cpp
diff options
context:
space:
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 0b8408d..35fb0da 100644
--- a/Projects/Asteroids/src/asteroids_DE.cpp
+++ b/Projects/Asteroids/src/asteroids_DE.cpp
@@ -110,8 +110,8 @@ void Asteroids::InitDevice(HWND hWnd, DeviceType DevType)
{
EngineD3D11CreateInfo EngineCI;
EngineCI.NumDeferredContexts = mNumSubsets-1;
- EngineCI.DebugFlags = (Uint32)EngineD3D11DebugFlags::VerifyCommittedShaderResources |
- (Uint32)EngineD3D11DebugFlags::VerifyCommittedResourceRelevance;
+ EngineCI.DebugFlags = D3D11_DEBUG_FLAG_CREATE_DEBUG_DEVICE |
+ D3D11_DEBUG_FLAG_VERIFY_COMMITTED_SHADER_RESOURCES;
#if ENGINE_DLL
if(!GetEngineFactoryD3D11)