Added missing functions to allow wait for swap chain.

Proper resource tracking to allow for destruction of graphics pipeline
Textures are tracked but not released so nothing has been done yet
various changes
This commit is contained in:
2025-03-13 23:07:01 -04:00
parent 84e1194f21
commit f01c8c3ccb
15 changed files with 333 additions and 88 deletions

View File

@@ -188,7 +188,7 @@ void JulietApplication::Update()
}
Texture* swapChainTexture = nullptr;
if (!AcquireSwapChainTexture(cmdList, MainWindow, &swapChainTexture))
if (!WaitAndAcquireSwapChainTexture(cmdList, MainWindow, &swapChainTexture))
{
Log(LogLevel::Error, LogCategory::Tool, "Failed to acquire swapchain texture.");
Running = false;