aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/vk-device-types.hpp4
-rw-r--r--include/vk-utils.hpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/include/vk-device-types.hpp b/include/vk-device-types.hpp
index 94f9560..f77d2af 100644
--- a/include/vk-device-types.hpp
+++ b/include/vk-device-types.hpp
@@ -143,8 +143,8 @@ struct device_buffer {
offset = 0U;
}
- u32 offset = 0U;
- u32 allocated_size = 0U;
+ u64 offset = 0U;
+ u64 allocated_size = 0U;
VkBuffer vk_buffer;
VmaAllocation alloc;
VkDeviceAddress device_address = 0U;
diff --git a/include/vk-utils.hpp b/include/vk-utils.hpp
index f26d2a3..c67cf31 100644
--- a/include/vk-utils.hpp
+++ b/include/vk-utils.hpp
@@ -1,6 +1,6 @@
#pragma once
-#ifdef _DEBUG
+#ifdef DEBUG
#define VKCHECK(result) assert((result) == VK_SUCCESS)
#else
#define VKCHECK(result) (void)result