aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/video_core/gpu_thread.cpp
diff options
context:
space:
mode:
authorBehunin <[email protected]>2023-02-11 09:28:07 -0700
committerBehunin <[email protected]>2023-03-03 18:20:56 -0700
commit44518b225cfeeeaab182592e7751874c46d18b82 (patch)
tree7c099f639daf36a9c55750a75956d3ab0b27f2b0 /src/video_core/gpu_thread.cpp
parent1f98634371838cc94d01613497660937f70ff78b (diff)
downloadyuzu-android-44518b225cfeeeaab182592e7751874c46d18b82.tar.gz
yuzu-android-44518b225cfeeeaab182592e7751874c46d18b82.zip
gpu_thread: Use bounded queue
Diffstat (limited to 'src/video_core/gpu_thread.cpp')
-rw-r--r--src/video_core/gpu_thread.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/gpu_thread.cpp b/src/video_core/gpu_thread.cpp
index 9c103c0d4..7cc5647e9 100644
--- a/src/video_core/gpu_thread.cpp
+++ b/src/video_core/gpu_thread.cpp
@@ -32,7 +32,8 @@ static void RunThread(std::stop_token stop_token, Core::System& system,
VideoCore::RasterizerInterface* const rasterizer = renderer.ReadRasterizer();
while (!stop_token.stop_requested()) {
- CommandDataContainer next = state.queue.PopWait(stop_token);
+ CommandDataContainer next;
+ state.queue.Pop(next, stop_token);
if (stop_token.stop_requested()) {
break;
}