summaryrefslogtreecommitdiff
path: root/src/video_core/gpu.cpp
diff options
context:
space:
mode:
authorGravatar ameerj2021-02-28 22:03:00 -0500
committerGravatar ameerj2021-02-28 22:03:00 -0500
commit52e9d7fa49c1da30ece8909d80e3aeafeda2760e (patch)
tree39ae6f5764683db4ad4b04a36041ee7272f77246 /src/video_core/gpu.cpp
parentMerge pull request #6007 from bunnei/ldn-error (diff)
downloadyuzu-52e9d7fa49c1da30ece8909d80e3aeafeda2760e.tar.gz
yuzu-52e9d7fa49c1da30ece8909d80e3aeafeda2760e.tar.xz
yuzu-52e9d7fa49c1da30ece8909d80e3aeafeda2760e.zip
gpu_thread: Remove Async NVDEC placeholders
This commit removes early placeholders for an implementation of async nvdec. With recent changes to the source code, the placeholders are no longer accurate, and can cause a nullptr dereference due to the nature of the cdma_pusher lifetime.
Diffstat (limited to 'src/video_core/gpu.cpp')
-rw-r--r--src/video_core/gpu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/gpu.cpp b/src/video_core/gpu.cpp
index 51c63af4a..c61f44619 100644
--- a/src/video_core/gpu.cpp
+++ b/src/video_core/gpu.cpp
@@ -459,7 +459,7 @@ void GPU::ProcessSemaphoreAcquire() {
459} 459}
460 460
461void GPU::Start() { 461void GPU::Start() {
462 gpu_thread.StartThread(*renderer, renderer->Context(), *dma_pusher, *cdma_pusher); 462 gpu_thread.StartThread(*renderer, renderer->Context(), *dma_pusher);
463 cpu_context = renderer->GetRenderWindow().CreateSharedContext(); 463 cpu_context = renderer->GetRenderWindow().CreateSharedContext();
464 cpu_context->MakeCurrent(); 464 cpu_context->MakeCurrent();
465} 465}