Improve error handling in graphics memory init
This commit is contained in:
@@ -44,7 +44,9 @@ VulkanSharedMemory::VulkanSharedMemory(
|
||||
VulkanSharedMemory::~VulkanSharedMemory() { Shutdown(true); }
|
||||
|
||||
bool VulkanSharedMemory::Initialize() {
|
||||
InitializeCommon();
|
||||
if (!InitializeCommon()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
const ui::vulkan::VulkanDevice* const vulkan_device =
|
||||
command_processor_.GetVulkanDevice();
|
||||
|
||||
Reference in New Issue
Block a user