summaryrefslogtreecommitdiff
path: root/video.cpp
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2025-01-03 19:35:46 +1100
committerquou <quou@disroot.org>2025-01-03 19:35:46 +1100
commitb4d02ca1b735e3aee642509b14dfdddcc04a0c04 (patch)
treebc477288d3b13ea0810b3fa27d466bfe2ece055e /video.cpp
parentef4fca980f59a0b258ea3a48e60a7359839a4bb0 (diff)
correct vram allocator chunk creation
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