From e4fb1e6126f95517404884863e7756c5282c68ca Mon Sep 17 00:00:00 2001 From: saschawillems Date: Sat, 23 Jul 2016 22:47:17 +0200 Subject: [PATCH] Global scene memory allocation instead of per-mesh, use VulkanDevice, compiler warnings --- base/vulkandevice.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/base/vulkandevice.hpp b/base/vulkandevice.hpp index a4236171..6d624b6f 100644 --- a/base/vulkandevice.hpp +++ b/base/vulkandevice.hpp @@ -119,6 +119,7 @@ namespace vk if (memTypeFound) { *memTypeFound = false; + return 0; } else {