aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorladevieq <ladevie.quentin@gmail.com>2026-05-21 23:18:16 +0200
committerladevieq <ladevie.quentin@gmail.com>2026-05-21 23:18:16 +0200
commit92e09dc06f8c8dd5b7a9323d586f4bf642078727 (patch)
treee88400323165ab55b39b05d5e0f01f6ebc2df7a7 /include
parent8f137322da4220aeb3863ff79724644e7e5152a0 (diff)
Save work on fixing images upload
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