From afbd7f7a247b182e24056d751f5664ca9a7cb5a0 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 28 Jul 2019 19:05:39 +0200 Subject: [PATCH] - increased StreamBuffer size because I got it to crash with comatose.wad once due to an overflow here. --- src/rendering/vulkan/system/vk_framebuffer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rendering/vulkan/system/vk_framebuffer.cpp b/src/rendering/vulkan/system/vk_framebuffer.cpp index b8f49edc8..9b0008b00 100644 --- a/src/rendering/vulkan/system/vk_framebuffer.cpp +++ b/src/rendering/vulkan/system/vk_framebuffer.cpp @@ -160,7 +160,7 @@ void VulkanFrameBuffer::InitializeState() // To do: move this to HW renderer interface maybe? MatrixBuffer = new VkStreamBuffer(sizeof(MatricesUBO), 50000); - StreamBuffer = new VkStreamBuffer(sizeof(StreamUBO), 200); + StreamBuffer = new VkStreamBuffer(sizeof(StreamUBO), 300); mShaderManager.reset(new VkShaderManager(device)); mSamplerManager.reset(new VkSamplerManager(device));