Trying to add water

This commit is contained in:
Dynamitos committed 2024-08-13 22:44:04 +02:00
1 parent 97244e87c1
commit 252a241208
43 files changed
+1408 -219

No files matched your search

-1
View File
@@ -46,7 +46,6 @@ void QueryPool::begin() {
void QueryPool::end() {
PCommand cmd = graphics->getGraphicsCommands()->getCommands();
vkCmdEndQuery(cmd->getHandle(), handle, head);
graphics->getGraphicsCommands()->submitCommands();
std::unique_lock l(queryMutex);
head = (head + 1) % numQueries;
queryCV.notify_all();