diff options
author | bunnei <bunneidev@gmail.com> | 2020-02-03 22:56:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-03 22:56:25 +0100 |
commit | c31ec00d676f6dda0bebee70d7a0b230e5babee9 (patch) | |
tree | 52c674cace5652f5d359dedd02ee01f911559192 /src/yuzu_cmd/emu_window/emu_window_sdl2_gl.cpp | |
parent | Merge pull request #3374 from lioncash/udp (diff) | |
parent | ci: Disable Vulkan for Windows MinGW builds (diff) | |
download | yuzu-c31ec00d676f6dda0bebee70d7a0b230e5babee9.tar yuzu-c31ec00d676f6dda0bebee70d7a0b230e5babee9.tar.gz yuzu-c31ec00d676f6dda0bebee70d7a0b230e5babee9.tar.bz2 yuzu-c31ec00d676f6dda0bebee70d7a0b230e5babee9.tar.lz yuzu-c31ec00d676f6dda0bebee70d7a0b230e5babee9.tar.xz yuzu-c31ec00d676f6dda0bebee70d7a0b230e5babee9.tar.zst yuzu-c31ec00d676f6dda0bebee70d7a0b230e5babee9.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>(); } |