mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-21 21:17:19 +00:00
parent
84dd68dd2b
commit
adaf40e2bf
@ -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 New Issue
Block a user