Don't lock stateMutex when updating buffer cycle

This commit is contained in:
Billy Laws 2022-10-22 14:55:01 +01:00
parent dd360b8f75
commit 0ebdbcf0ff

View File

@ -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;
} }