diff options
Diffstat (limited to 'src/yuzu_cmd/emu_window/emu_window_sdl2.cpp')
| -rw-r--r-- | src/yuzu_cmd/emu_window/emu_window_sdl2.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/yuzu_cmd/emu_window/emu_window_sdl2.cpp b/src/yuzu_cmd/emu_window/emu_window_sdl2.cpp index 36d40a9b5..b6ed0c498 100644 --- a/src/yuzu_cmd/emu_window/emu_window_sdl2.cpp +++ b/src/yuzu_cmd/emu_window/emu_window_sdl2.cpp | |||
| @@ -84,7 +84,7 @@ EmuWindow_SDL2::EmuWindow_SDL2(bool fullscreen) { | |||
| 84 | 84 | ||
| 85 | // Initialize the window | 85 | // Initialize the window |
| 86 | if (SDL_Init(SDL_INIT_VIDEO) < 0) { | 86 | if (SDL_Init(SDL_INIT_VIDEO) < 0) { |
| 87 | LOG_CRITICAL(Frontend, "Failed to initialize SDL2! Exiting..."); | 87 | NGLOG_CRITICAL(Frontend, "Failed to initialize SDL2! Exiting..."); |
| 88 | exit(1); | 88 | exit(1); |
| 89 | } | 89 | } |
| 90 | 90 | ||
| @@ -107,7 +107,7 @@ EmuWindow_SDL2::EmuWindow_SDL2(bool fullscreen) { | |||
| 107 | SDL_WINDOW_OPENGL | SDL_WINDOW_RESIZABLE | SDL_WINDOW_ALLOW_HIGHDPI); | 107 | SDL_WINDOW_OPENGL | SDL_WINDOW_RESIZABLE | SDL_WINDOW_ALLOW_HIGHDPI); |
| 108 | 108 | ||
| 109 | if (render_window == nullptr) { | 109 | if (render_window == nullptr) { |
| 110 | LOG_CRITICAL(Frontend, "Failed to create SDL2 window! Exiting..."); | 110 | NGLOG_CRITICAL(Frontend, "Failed to create SDL2 window! Exiting..."); |
| 111 | exit(1); | 111 | exit(1); |
| 112 | } | 112 | } |
| 113 | 113 | ||
| @@ -118,12 +118,12 @@ EmuWindow_SDL2::EmuWindow_SDL2(bool fullscreen) { | |||
| 118 | gl_context = SDL_GL_CreateContext(render_window); | 118 | gl_context = SDL_GL_CreateContext(render_window); |
| 119 | 119 | ||
| 120 | if (gl_context == nullptr) { | 120 | if (gl_context == nullptr) { |
| 121 | LOG_CRITICAL(Frontend, "Failed to create SDL2 GL context! Exiting..."); | 121 | NGLOG_CRITICAL(Frontend, "Failed to create SDL2 GL context! Exiting..."); |
| 122 | exit(1); | 122 | exit(1); |
| 123 | } | 123 | } |
| 124 | 124 | ||
| 125 | if (!gladLoadGLLoader(static_cast<GLADloadproc>(SDL_GL_GetProcAddress))) { | 125 | if (!gladLoadGLLoader(static_cast<GLADloadproc>(SDL_GL_GetProcAddress))) { |
| 126 | LOG_CRITICAL(Frontend, "Failed to initialize GL functions! Exiting..."); | 126 | NGLOG_CRITICAL(Frontend, "Failed to initialize GL functions! Exiting..."); |
| 127 | exit(1); | 127 | exit(1); |
| 128 | } | 128 | } |
| 129 | 129 | ||