summaryrefslogtreecommitdiffstats
path: root/src/video_core/gpu_thread.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-02-17 21:38:56 +0100
committerbunnei <bunneidev@gmail.com>2020-02-26 03:23:00 +0100
commit667f026c9570b772719d2ada94cc40d420113c23 (patch)
tree749c65d2e1424156d8cbc82d91c1ce5131d27ca6 /src/video_core/gpu_thread.cpp
parentfrontend: sdl2: emu_window: Implement separate presentation thread. (diff)
downloadyuzu-667f026c9570b772719d2ada94cc40d420113c23.tar
yuzu-667f026c9570b772719d2ada94cc40d420113c23.tar.gz
yuzu-667f026c9570b772719d2ada94cc40d420113c23.tar.bz2
yuzu-667f026c9570b772719d2ada94cc40d420113c23.tar.lz
yuzu-667f026c9570b772719d2ada94cc40d420113c23.tar.xz
yuzu-667f026c9570b772719d2ada94cc40d420113c23.tar.zst
yuzu-667f026c9570b772719d2ada94cc40d420113c23.zip
Diffstat (limited to 'src/video_core/gpu_thread.cpp')
-rw-r--r--src/video_core/gpu_thread.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/gpu_thread.cpp b/src/video_core/gpu_thread.cpp
index 2cdf1aa7f..b1088af3d 100644
--- a/src/video_core/gpu_thread.cpp
+++ b/src/video_core/gpu_thread.cpp
@@ -5,7 +5,7 @@
#include "common/assert.h"
#include "common/microprofile.h"
#include "core/core.h"
-#include "core/frontend/scope_acquire_window_context.h"
+#include "core/frontend/scope_acquire_context.h"
#include "video_core/dma_pusher.h"
#include "video_core/gpu.h"
#include "video_core/gpu_thread.h"
@@ -27,7 +27,7 @@ static void RunThread(VideoCore::RendererBase& renderer, Tegra::DmaPusher& dma_p
return;
}
- Core::Frontend::ScopeAcquireWindowContext acquire_context{renderer.GetRenderWindow()};
+ Core::Frontend::ScopeAcquireContext acquire_context{renderer.GetRenderWindow()};
CommandDataContainer next;
while (state.is_running) {