mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-27 01:04:16 +01:00
Don't attach textures to the active cycle in AttachTexture
This commit is contained in:
parent
7dc3dde815
commit
2556966ec5
@ -233,11 +233,10 @@ namespace skyline::gpu::interconnect {
|
||||
// Avoids a potential deadlock with this resource being locked while acquiring the TextureManager lock while the thread owning it tries to acquire a lock on this texture
|
||||
textureManagerLock.emplace(gpu.texture);
|
||||
|
||||
cycle->AttachObject(view->shared_from_this());
|
||||
|
||||
bool didLock{view->LockWithTag(tag)};
|
||||
if (didLock)
|
||||
attachedTextures.emplace_back(view->texture);
|
||||
|
||||
return didLock;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user