summaryrefslogtreecommitdiffstats
path: root/src/yuzu_cmd/emu_window/emu_window_sdl2_gl.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-07-30 22:28:24 +0200
committerGitHub <noreply@github.com>2021-07-30 22:28:24 +0200
commit2c7fdee7a759fad644e5323c89d929e45ae19efc (patch)
treede87c26ba0194098a079c7feec88dc1d8c997932 /src/yuzu_cmd/emu_window/emu_window_sdl2_gl.h
parentMerge pull request #6759 from ReinUsesLisp/pipeline-statistics (diff)
parentemu_window: Remove global system instance (diff)
downloadyuzu-2c7fdee7a759fad644e5323c89d929e45ae19efc.tar
yuzu-2c7fdee7a759fad644e5323c89d929e45ae19efc.tar.gz
yuzu-2c7fdee7a759fad644e5323c89d929e45ae19efc.tar.bz2
yuzu-2c7fdee7a759fad644e5323c89d929e45ae19efc.tar.lz
yuzu-2c7fdee7a759fad644e5323c89d929e45ae19efc.tar.xz
yuzu-2c7fdee7a759fad644e5323c89d929e45ae19efc.tar.zst
yuzu-2c7fdee7a759fad644e5323c89d929e45ae19efc.zip
Diffstat (limited to '')
-rw-r--r--src/yuzu_cmd/emu_window/emu_window_sdl2_gl.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/yuzu_cmd/emu_window/emu_window_sdl2_gl.h b/src/yuzu_cmd/emu_window/emu_window_sdl2_gl.h
index 9e694d985..d7f2c83d8 100644
--- a/src/yuzu_cmd/emu_window/emu_window_sdl2_gl.h
+++ b/src/yuzu_cmd/emu_window/emu_window_sdl2_gl.h
@@ -8,13 +8,18 @@
#include "core/frontend/emu_window.h"
#include "yuzu_cmd/emu_window/emu_window_sdl2.h"
+namespace Core {
+class System;
+}
+
namespace InputCommon {
class InputSubsystem;
}
class EmuWindow_SDL2_GL final : public EmuWindow_SDL2 {
public:
- explicit EmuWindow_SDL2_GL(InputCommon::InputSubsystem* input_subsystem, bool fullscreen);
+ explicit EmuWindow_SDL2_GL(InputCommon::InputSubsystem* input_subsystem, Core::System& system_,
+ bool fullscreen);
~EmuWindow_SDL2_GL();
std::unique_ptr<Core::Frontend::GraphicsContext> CreateSharedContext() const override;