From cacfe17f89b655687a672bf174eca8502edd0717 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Sun, 20 Oct 2019 10:37:07 -0700 Subject: Renamed DRAW_FLAG_DYNAMIC_BUFFERS_INTACT to DRAW_FLAG_DYNAMIC_RESOURCE_BUFFERS_INTACT --- Projects/Asteroids/src/asteroids_DE.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Projects') 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; } -- cgit v1.2.3