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:
Patedam committed 2025-03-13 23:07:01 -04:00
1 parent 84e1194f21
commit f01c8c3ccb
15 files changed
+333 -88

No files matched your search

+1 -1
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;