Skip to content

Instantly share code, notes, and snippets.

@Nehon
Created June 1, 2019 11:54
Show Gist options
  • Save Nehon/907dc439d0b8da185a02c15795a38f73 to your computer and use it in GitHub Desktop.
Save Nehon/907dc439d0b8da185a02c15795a38f73 to your computer and use it in GitHub Desktop.
for (auto& sync : queue.syncList) {
dope::Scheduler* scheduler = sync.scheduler;
DOPE_ASSERT(scheduler != nullptr, "To use sync command buffer the sync needs to be initialized with a scheduler");
scheduler->decrementSync(&sync);
}
queue.syncList.clear();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment