Implemented KRDeviceManager

This commit is contained in:
2021-08-17 00:20:56 -07:00
parent f6b3845057
commit a3fc0d84d4
8 changed files with 295 additions and 172 deletions

View File

@@ -116,7 +116,7 @@ KRPipeline::KRPipeline(KRContext& context, KrDeviceHandle deviceHandle, VkFormat
m_pipelineLayout = nullptr;
m_graphicsPipeline = nullptr;
m_renderPass = nullptr;
KRDevice& device = m_pContext->GetDeviceInfo(deviceHandle);
KRDevice& device = m_pContext->getDeviceManager()->getDeviceInfo(deviceHandle);
strcpy(m_szKey, szKey);