Video decode fixes for AMD GPU (#1099)

This commit is contained in:
Turánszki János
2025-05-03 08:42:51 +02:00
committed by GitHub
parent 9ad26fe513
commit cdb5f8f274
12 changed files with 256 additions and 64 deletions
+1
View File
@@ -1571,6 +1571,7 @@ void GraphicsWindow::UpdateSwapChainFormats(wi::graphics::SwapChain* swapChain)
break;
}
swapChain->desc.allow_hdr = editor->main->allow_hdr;
editor->main->config.Set("allow_hdr", editor->main->allow_hdr);
bool success = wi::graphics::GetDevice()->CreateSwapChain(&swapChain->desc, nullptr, swapChain);
assert(success);