Slight cleanup of VulkanDrawContext and binding the node
This commit is contained in:
@@ -21,8 +21,7 @@ namespace OpenVulkano::Vulkan
|
||||
renderGeo->RecordBind(drawContext->commandBuffer);
|
||||
for(Node* node : instance->GetNodes())
|
||||
{
|
||||
if (!node->renderNode) drawContext->renderer->GetResourceManager().PrepareNode(node);
|
||||
static_cast<VulkanNode*>(node->renderNode)->Record(drawContext);
|
||||
drawContext->EncodeNode(node);
|
||||
renderGeo->RecordDraw(drawContext->commandBuffer);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user