Skip to content

Commit

Permalink
[host] dxgi: Fix d3d12 32-bit output
Browse files Browse the repository at this point in the history
Fixes #1100
  • Loading branch information
gnif committed Jan 27, 2024
1 parent 84dd68d commit adaf40e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions host/platform/Windows/capture/DXGI/src/d3d12.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down

0 comments on commit adaf40e

Please sign in to comment.