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 {