Update buffer pool handling to use less memory
This commit is contained in:
@@ -74,6 +74,7 @@ namespace OpenVulkano::Vulkan
|
||||
|
||||
void Renderer::Tick()
|
||||
{
|
||||
if (!scene) [[unlikely]] return;
|
||||
currentImageId = context.swapChain.AcquireNextImage();
|
||||
scene->GetCamera()->SetSize(context.window->GetWidth(), context.window->GetHeight());
|
||||
scene->GetCamera()->SetContentScaleFactor(context.window->GetContentScale());
|
||||
|
||||
Reference in New Issue
Block a user