summaryrefslogtreecommitdiff
path: root/video.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'video.cpp')
-rw-r--r--video.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/video.cpp b/video.cpp
index 36874cf..4e38bc5 100644
--- a/video.cpp
+++ b/video.cpp
@@ -3996,7 +3996,7 @@ Vram_Allocator::Allocation Vram_Allocator::alloc(
page->init(
dev,
(VkDeviceSize)align_address(
- (uintptr_t)size,
+ (uintptr_t)size + 1,
(size_t)size_alignment
),
type