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 6494e49..24034bb 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);
+ mDeviceCtxt->ClearRenderTarget(nullptr, clearcol, CLEAR_RENDER_TARGET_VERIFY_STATE);
mDeviceCtxt->ClearDepthStencil(nullptr, CLEAR_DEPTH_FLAG, 0.0f, 0);
LONG64 currCounter;