From adaf40e2bf56d571a5435c2c306e5f2ebe8be62e Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Sat, 27 Jan 2024 20:06:34 +1100 Subject: [PATCH] [host] dxgi: Fix d3d12 32-bit output Fixes #1100 --- host/platform/Windows/capture/DXGI/src/d3d12.c | 1 + 1 file changed, 1 insertion(+) diff --git a/host/platform/Windows/capture/DXGI/src/d3d12.c b/host/platform/Windows/capture/DXGI/src/d3d12.c index 121cb89e..a2e1fa31 100644 --- a/host/platform/Windows/capture/DXGI/src/d3d12.c +++ b/host/platform/Windows/capture/DXGI/src/d3d12.c @@ -406,6 +406,7 @@ static bool d3d12_preCopy(ID3D11Texture2D * src, unsigned textureIndex) struct SharedCache *cache = &this->sharedCache[this->sharedCacheCount++]; cache->tex = src; comRef_toGlobal(cache->d12src, d12src); + this->d12src = *cache->d12src; } else {