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 2c0d28d..4710333 100644
--- a/Projects/Asteroids/src/asteroids_DE.cpp
+++ b/Projects/Asteroids/src/asteroids_DE.cpp
@@ -924,7 +924,7 @@ void Asteroids::RenderSubset(Diligent::Uint32 SubsetNum,
{
// It is very important to speciy this flag to make sure the engine does not do extra
// work processing buffers that stay intact.
- attribs.Flags |= DRAW_FLAG_DYNAMIC_BUFFERS_INTACT;
+ attribs.Flags |= DRAW_FLAG_DYNAMIC_RESOURCE_BUFFERS_INTACT;
attribs.FirstInstanceLocation = drawIdx - startIdx;
}