render pass first work
This commit is contained in:
@@ -17,6 +17,7 @@ private:
|
||||
CUtlVector<CVkCommand*> m_commands;
|
||||
VkCommandBuffer m_hBuffer = NULL;
|
||||
|
||||
|
||||
VkDevice m_hDevice;
|
||||
IVkCommandBufferManager *m_pMgr;
|
||||
VkCommandPool m_hPool = NULL;
|
||||
@@ -82,7 +83,7 @@ void CVkCommandBuffer::Render()
|
||||
|
||||
for (auto &pCommand: m_commands)
|
||||
{
|
||||
pCommand->Execute(m_hBuffer, 0);
|
||||
pCommand->Execute(m_hDevice, m_hBuffer, 0);
|
||||
};
|
||||
vkEndCommandBuffer(m_hBuffer);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user