mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-12 20:27:53 +00:00
parent
84dd68dd2b
commit
adaf40e2bf
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue