Skip to content

Commit

Permalink
gameLibs/render/daBfg: simplified code for wipeBlobsBetweenFrames() call
Browse files Browse the repository at this point in the history
  • Loading branch information
NicSavichev committed Dec 5, 2024
1 parent ab72e05 commit a8133c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prog/gameLibs/render/daBfg/api/das/frameGraphModule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ DaBfgCoreModule::DaBfgCoreModule() : das::Module("daBfgCore")
{
// Note that with this mechanism we wipe more than we need to: even
// non das-native blobs will get emergency wiped, but we are OK with that.
rt.wipeBlobsBetweenFrames(*resIdsToWipe);
rt.wipeBlobsBetweenFrames(eastl::span<dabfg::ResNameId>(resIdsToWipe->data(), resIdsToWipe->size()));
debug("daBfg: Wiped nodes and blobs managed by context %p", ctx);
}
});
Expand Down

0 comments on commit a8133c0

Please sign in to comment.