diff options
| author | 2020-01-21 16:40:53 -0300 | |
|---|---|---|
| committer | 2020-01-29 17:53:11 -0300 | |
| commit | f92cbc55018b5a3d98dd2093354f20c62ace5fda (patch) | |
| tree | 7ec9af0d8820b45de580c2d608fdb1853485db83 /src/yuzu_cmd/emu_window/emu_window_sdl2.cpp | |
| parent | web_service/telemetry_json: Report USER_CONFIG (diff) | |
| download | yuzu-f92cbc55018b5a3d98dd2093354f20c62ace5fda.tar.gz yuzu-f92cbc55018b5a3d98dd2093354f20c62ace5fda.tar.xz yuzu-f92cbc55018b5a3d98dd2093354f20c62ace5fda.zip | |
yuzu: Implement Vulkan frontend
Adds a Qt and SDL2 frontend for Vulkan. It also finishes the missing
bits on Vulkan initialization.
Diffstat (limited to 'src/yuzu_cmd/emu_window/emu_window_sdl2.cpp')
| -rw-r--r-- | src/yuzu_cmd/emu_window/emu_window_sdl2.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/yuzu_cmd/emu_window/emu_window_sdl2.cpp b/src/yuzu_cmd/emu_window/emu_window_sdl2.cpp index b1c512db1..e96139885 100644 --- a/src/yuzu_cmd/emu_window/emu_window_sdl2.cpp +++ b/src/yuzu_cmd/emu_window/emu_window_sdl2.cpp | |||
| @@ -89,6 +89,10 @@ bool EmuWindow_SDL2::IsOpen() const { | |||
| 89 | return is_open; | 89 | return is_open; |
| 90 | } | 90 | } |
| 91 | 91 | ||
| 92 | bool EmuWindow_SDL2::IsShown() const { | ||
| 93 | return is_shown; | ||
| 94 | } | ||
| 95 | |||
| 92 | void EmuWindow_SDL2::OnResize() { | 96 | void EmuWindow_SDL2::OnResize() { |
| 93 | int width, height; | 97 | int width, height; |
| 94 | SDL_GetWindowSize(render_window, &width, &height); | 98 | SDL_GetWindowSize(render_window, &width, &height); |