[host] dxgi: Fix d3d12 32-bit output

Fixes #1100
This commit is contained in:
Geoffrey McRae 2024-01-27 20:06:34 +11:00
parent 84dd68dd2b
commit adaf40e2bf

View File

@ -406,6 +406,7 @@ static bool d3d12_preCopy(ID3D11Texture2D * src, unsigned textureIndex)
struct SharedCache *cache = &this->sharedCache[this->sharedCacheCount++]; struct SharedCache *cache = &this->sharedCache[this->sharedCacheCount++];
cache->tex = src; cache->tex = src;
comRef_toGlobal(cache->d12src, d12src); comRef_toGlobal(cache->d12src, d12src);
this->d12src = *cache->d12src;
} }
else else
{ {