diff options
Diffstat (limited to 'src/video_core/fence_manager.h')
| -rw-r--r-- | src/video_core/fence_manager.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/fence_manager.h b/src/video_core/fence_manager.h index 3b2f6aab6..850d6f27d 100644 --- a/src/video_core/fence_manager.h +++ b/src/video_core/fence_manager.h | |||
| @@ -55,8 +55,8 @@ public: | |||
| 55 | 55 | ||
| 56 | // Unlike other fences, this one doesn't | 56 | // Unlike other fences, this one doesn't |
| 57 | void SignalOrdering() { | 57 | void SignalOrdering() { |
| 58 | std::scoped_lock lock{buffer_cache.mutex}; | 58 | std::function<void()> do_nothing([]{}); |
| 59 | buffer_cache.AccumulateFlushes(); | 59 | SignalFence(std::move(do_nothing)); |
| 60 | } | 60 | } |
| 61 | 61 | ||
| 62 | void SyncOperation(std::function<void()>&& func) { | 62 | void SyncOperation(std::function<void()>&& func) { |