summaryrefslogtreecommitdiffstats
path: root/src/core/frontend/scope_acquire_window_context.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/core/frontend/scope_acquire_window_context.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 '')
-rw-r--r--src/core/frontend/scope_acquire_window_context.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/core/frontend/scope_acquire_window_context.cpp b/src/core/frontend/scope_acquire_window_context.cpp
deleted file mode 100644
index 3663dad17..000000000
--- a/src/core/frontend/scope_acquire_window_context.cpp
+++ /dev/null
@@ -1,18 +0,0 @@
-// Copyright 2019 yuzu Emulator Project
-// Licensed under GPLv2 or any later version
-// Refer to the license.txt file included.
-
-#include "core/frontend/emu_window.h"
-#include "core/frontend/scope_acquire_window_context.h"
-
-namespace Core::Frontend {
-
-ScopeAcquireWindowContext::ScopeAcquireWindowContext(Core::Frontend::EmuWindow& emu_window_)
- : emu_window{emu_window_} {
- emu_window.MakeCurrent();
-}
-ScopeAcquireWindowContext::~ScopeAcquireWindowContext() {
- emu_window.DoneCurrent();
-}
-
-} // namespace Core::Frontend