Use Vulkan result check macro, removed unused functionality from tools and base class
This commit is contained in:
parent
a85dca7a15
commit
75a6f46c4a
10 changed files with 52 additions and 63 deletions
|
|
@ -580,7 +580,7 @@ public:
|
|||
&uniformData.computeShader.ubo.descriptor);
|
||||
|
||||
// Map for host access
|
||||
vkTools::checkResult(vkMapMemory(device, uniformData.computeShader.ubo.memory, 0, sizeof(computeUbo), 0, (void **)&uniformData.computeShader.ubo.mapped));
|
||||
VK_CHECK_RESULT(vkMapMemory(device, uniformData.computeShader.ubo.memory, 0, sizeof(computeUbo), 0, (void **)&uniformData.computeShader.ubo.mapped));
|
||||
|
||||
updateUniformBuffers();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue