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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user