renamed to JointID/JointWeight instead of BoneID/BoneWeight
This commit is contained in:
@@ -47,7 +47,7 @@ bool GPUDevice::Resize(const VkExtent2D &extent)
|
||||
|
||||
swapchainRT=CreateSwapchainRenderTarget();
|
||||
|
||||
return(true);
|
||||
return(swapchainRT);
|
||||
}
|
||||
|
||||
VkCommandBuffer GPUDevice::CreateCommandBuffer()
|
||||
|
@@ -60,10 +60,16 @@ namespace
|
||||
}
|
||||
|
||||
VkSwapchainKHR swap_chain;
|
||||
VkResult result;
|
||||
|
||||
if(vkCreateSwapchainKHR(dev_attr->device,&swapchain_ci,nullptr,&swap_chain)==VK_SUCCESS)
|
||||
result=vkCreateSwapchainKHR(dev_attr->device,&swapchain_ci,nullptr,&swap_chain);
|
||||
|
||||
if(result==VK_SUCCESS)
|
||||
return(swap_chain);
|
||||
|
||||
//LOG_ERROR(OS_TEXT("vkCreateSwapchainKHR failed, result = ")+OSString(result));
|
||||
os_err<<"vkCreateSwapchainKHR failed, result="<<result<<std::endl;
|
||||
|
||||
return(VK_NULL_HANDLE);
|
||||
}
|
||||
}//namespace
|
||||
|
Reference in New Issue
Block a user