diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-01-21 20:40:53 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-01-29 21:53:11 +0100 |
commit | f92cbc55018b5a3d98dd2093354f20c62ace5fda (patch) | |
tree | 7ec9af0d8820b45de580c2d608fdb1853485db83 /src/yuzu_cmd/emu_window/emu_window_sdl2_gl.cpp | |
parent | web_service/telemetry_json: Report USER_CONFIG (diff) | |
download | yuzu-f92cbc55018b5a3d98dd2093354f20c62ace5fda.tar yuzu-f92cbc55018b5a3d98dd2093354f20c62ace5fda.tar.gz yuzu-f92cbc55018b5a3d98dd2093354f20c62ace5fda.tar.bz2 yuzu-f92cbc55018b5a3d98dd2093354f20c62ace5fda.tar.lz yuzu-f92cbc55018b5a3d98dd2093354f20c62ace5fda.tar.xz yuzu-f92cbc55018b5a3d98dd2093354f20c62ace5fda.tar.zst yuzu-f92cbc55018b5a3d98dd2093354f20c62ace5fda.zip |
Diffstat (limited to 'src/yuzu_cmd/emu_window/emu_window_sdl2_gl.cpp')
-rw-r--r-- | src/yuzu_cmd/emu_window/emu_window_sdl2_gl.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/yuzu_cmd/emu_window/emu_window_sdl2_gl.cpp b/src/yuzu_cmd/emu_window/emu_window_sdl2_gl.cpp index 6fde694a2..7ffa0ac09 100644 --- a/src/yuzu_cmd/emu_window/emu_window_sdl2_gl.cpp +++ b/src/yuzu_cmd/emu_window/emu_window_sdl2_gl.cpp @@ -9,6 +9,7 @@ #include <SDL.h> #include <fmt/format.h> #include <glad/glad.h> +#include "common/assert.h" #include "common/logging/log.h" #include "common/scm_rev.h" #include "common/string_util.h" @@ -151,6 +152,12 @@ void EmuWindow_SDL2_GL::DoneCurrent() { SDL_GL_MakeCurrent(render_window, nullptr); } +void EmuWindow_SDL2_GL::RetrieveVulkanHandlers(void* get_instance_proc_addr, void* instance, + void* surface) const { + // Should not have been called from OpenGL + UNREACHABLE(); +} + std::unique_ptr<Core::Frontend::GraphicsContext> EmuWindow_SDL2_GL::CreateSharedContext() const { return std::make_unique<SDLGLContext>(); } |