mirror of
https://github.com/Takiiiiiiii/strato.git
synced 2025-07-17 08:46:39 +00:00
Don't lock stateMutex when updating buffer cycle
This commit is contained in:
@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user