From b4d02ca1b735e3aee642509b14dfdddcc04a0c04 Mon Sep 17 00:00:00 2001 From: quou Date: Fri, 3 Jan 2025 19:35:46 +1100 Subject: correct vram allocator chunk creation --- video.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video.cpp') 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 -- cgit v1.2.3-54-g00ecf