From 0ebdbcf0ff2da5e4efbeda0abd42e19a36f525fa Mon Sep 17 00:00:00 2001 From: Billy Laws Date: Sat, 22 Oct 2022 14:55:01 +0100 Subject: [PATCH] Don't lock stateMutex when updating buffer cycle --- app/src/main/cpp/skyline/gpu/buffer.h | 1 - 1 file changed, 1 deletion(-) diff --git a/app/src/main/cpp/skyline/gpu/buffer.h b/app/src/main/cpp/skyline/gpu/buffer.h index 321f9e64..691cb364 100644 --- a/app/src/main/cpp/skyline/gpu/buffer.h +++ b/app/src/main/cpp/skyline/gpu/buffer.h @@ -109,7 +109,6 @@ namespace skyline::gpu { public: void UpdateCycle(const std::shared_ptr &newCycle) { - std::scoped_lock lock{stateMutex}; newCycle->ChainCycle(cycle); cycle = newCycle; }