summaryrefslogtreecommitdiffstats
path: root/src/yuzu_cmd/emu_window/emu_window_sdl2.h
diff options
context:
space:
mode:
authorRodrigo Locatti <reinuseslisp@airmail.cc>2020-09-21 02:21:32 +0200
committerGitHub <noreply@github.com>2020-09-21 02:21:32 +0200
commita2eb44db825a892cc2863bd1f5d0352c273ff0f0 (patch)
tree3e75441609f97c8a6ad01e70461ecb218c51d086 /src/yuzu_cmd/emu_window/emu_window_sdl2.h
parentMerge pull request #4683 from Morph1984/NpadHandheldActivationMode-impl (diff)
parentrenderer_opengl: Remove emulated mailbox presentation (diff)
downloadyuzu-a2eb44db825a892cc2863bd1f5d0352c273ff0f0.tar
yuzu-a2eb44db825a892cc2863bd1f5d0352c273ff0f0.tar.gz
yuzu-a2eb44db825a892cc2863bd1f5d0352c273ff0f0.tar.bz2
yuzu-a2eb44db825a892cc2863bd1f5d0352c273ff0f0.tar.lz
yuzu-a2eb44db825a892cc2863bd1f5d0352c273ff0f0.tar.xz
yuzu-a2eb44db825a892cc2863bd1f5d0352c273ff0f0.tar.zst
yuzu-a2eb44db825a892cc2863bd1f5d0352c273ff0f0.zip
Diffstat (limited to 'src/yuzu_cmd/emu_window/emu_window_sdl2.h')
-rw-r--r--src/yuzu_cmd/emu_window/emu_window_sdl2.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/yuzu_cmd/emu_window/emu_window_sdl2.h b/src/yuzu_cmd/emu_window/emu_window_sdl2.h
index 82750ffec..53d756c3c 100644
--- a/src/yuzu_cmd/emu_window/emu_window_sdl2.h
+++ b/src/yuzu_cmd/emu_window/emu_window_sdl2.h
@@ -20,8 +20,7 @@ class InputSubsystem;
class EmuWindow_SDL2 : public Core::Frontend::EmuWindow {
public:
- explicit EmuWindow_SDL2(Core::System& system, bool fullscreen,
- InputCommon::InputSubsystem* input_subsystem);
+ explicit EmuWindow_SDL2(InputCommon::InputSubsystem* input_subsystem);
~EmuWindow_SDL2();
/// Polls window events
@@ -33,9 +32,6 @@ public:
/// Returns if window is shown (not minimized)
bool IsShown() const override;
- /// Presents the next frame
- virtual void Present() = 0;
-
protected:
/// Called by PollEvents when a key is pressed or released.
void OnKeyEvent(int key, u8 state);
@@ -67,9 +63,6 @@ protected:
/// Called when a configuration change affects the minimal size of the window
void OnMinimalClientAreaChangeRequest(std::pair<unsigned, unsigned> minimal_size) override;
- /// Instance of the system, used to access renderer for the presentation thread
- Core::System& system;
-
/// Is the window still open?
bool is_open = true;