doctool: Fix differences between headless and Vulkan rendering backends
Fixes #53913.
This commit is contained in:
parent
8748247d6f
commit
da98357e6e
5 changed files with 13 additions and 2 deletions
|
|
@ -8913,6 +8913,8 @@ void RenderingDeviceVulkan::initialize(VulkanContext *p_context, bool p_local_de
|
|||
}
|
||||
}
|
||||
|
||||
// Note: If adding new project settings here, also duplicate their definition in
|
||||
// rendering_server.cpp for headless doctool.
|
||||
staging_buffer_block_size = GLOBAL_DEF("rendering/vulkan/staging_buffer/block_size_kb", 256);
|
||||
staging_buffer_block_size = MAX(4, staging_buffer_block_size);
|
||||
staging_buffer_block_size *= 1024; //kb -> bytes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue