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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Projects/Asteroids/src/asteroids_DE.cpp b/Projects/Asteroids/src/asteroids_DE.cpp
index 3725beb..0279985 100644
--- a/Projects/Asteroids/src/asteroids_DE.cpp
+++ b/Projects/Asteroids/src/asteroids_DE.cpp
@@ -760,7 +760,7 @@ void Asteroids::Render(float frameTime, const OrbitCamera& camera, const Setting
// Clear the render target
float clearcol[4] = { 0.0f, 0.0f, 0.0f, 0.0f };
mDeviceCtxt->SetRenderTargets(0, nullptr, nullptr, SET_RENDER_TARGETS_FLAG_TRANSITION_ALL);
- mDeviceCtxt->ClearRenderTarget(nullptr, clearcol, CLEAR_RENDER_TARGET_VERIFY_STATE);
+ mDeviceCtxt->ClearRenderTarget(nullptr, clearcol, RESOURCE_STATE_TRANSITION_MODE_VERIFY);
mDeviceCtxt->ClearDepthStencil(nullptr, CLEAR_DEPTH_FLAG | CLEAR_DEPTH_STENCIL_VERIFY_STATE_FLAG, 0.0f, 0);
LONG64 currCounter;