diff options
| author | liamwhite <liamwhite@users.noreply.github.com> | 2023-12-30 14:58:58 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-30 14:58:58 -0500 |
| commit | f6ee53af145bf320d9cbc17c623ef853e4c2a198 (patch) | |
| tree | 7230dec17460aebdb4a698677b11a36c69bc0c15 /src/yuzu_cmd/emu_window/emu_window_sdl2_vk.cpp | |
| parent | 6c6cb5745ffc197b44b83a8e6393d237021dc846 (diff) | |
| parent | 9323a1f9b20e9ff9d02ba75baba4e43df5eee0e6 (diff) | |
Merge pull request #12527 from DCNick3/log-more-sdl-errors
Report more SDL errors
Diffstat (limited to 'src/yuzu_cmd/emu_window/emu_window_sdl2_vk.cpp')
| -rw-r--r-- | src/yuzu_cmd/emu_window/emu_window_sdl2_vk.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/yuzu_cmd/emu_window/emu_window_sdl2_vk.cpp b/src/yuzu_cmd/emu_window/emu_window_sdl2_vk.cpp index 9ed47d453..8b916f05c 100644 --- a/src/yuzu_cmd/emu_window/emu_window_sdl2_vk.cpp +++ b/src/yuzu_cmd/emu_window/emu_window_sdl2_vk.cpp @@ -28,7 +28,8 @@ EmuWindow_SDL2_VK::EmuWindow_SDL2_VK(InputCommon::InputSubsystem* input_subsyste SDL_SysWMinfo wm; SDL_VERSION(&wm.version); if (SDL_GetWindowWMInfo(render_window, &wm) == SDL_FALSE) { - LOG_CRITICAL(Frontend, "Failed to get information from the window manager"); + LOG_CRITICAL(Frontend, "Failed to get information from the window manager: {}", + SDL_GetError()); std::exit(EXIT_FAILURE); } |
