mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-29 11:55:28 +03:00
Don't lock stateMutex when updating buffer cycle
This commit is contained in:
parent
dd360b8f75
commit
0ebdbcf0ff
@ -109,7 +109,6 @@ namespace skyline::gpu {
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
void UpdateCycle(const std::shared_ptr<FenceCycle> &newCycle) {
|
void UpdateCycle(const std::shared_ptr<FenceCycle> &newCycle) {
|
||||||
std::scoped_lock lock{stateMutex};
|
|
||||||
newCycle->ChainCycle(cycle);
|
newCycle->ChainCycle(cycle);
|
||||||
cycle = newCycle;
|
cycle = newCycle;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user