summaryrefslogtreecommitdiff
path: root/src/yuzu_cmd/emu_window/emu_window_sdl2.cpp
diff options
context:
space:
mode:
authorGravatar Lioncash2018-04-26 19:12:13 -0400
committerGravatar Lioncash2018-04-26 19:14:48 -0400
commit3062eb52f4b43c4ee861bd944291f1f9aba198df (patch)
treee21fe52553e8bf09c53631d7694288aaed1ff22c /src/yuzu_cmd/emu_window/emu_window_sdl2.cpp
parentMerge pull request #402 from lioncash/core (diff)
downloadyuzu-3062eb52f4b43c4ee861bd944291f1f9aba198df.tar.gz
yuzu-3062eb52f4b43c4ee861bd944291f1f9aba198df.tar.xz
yuzu-3062eb52f4b43c4ee861bd944291f1f9aba198df.zip
frontends: Move logging macros over to new fmt-capable ones
Diffstat (limited to 'src/yuzu_cmd/emu_window/emu_window_sdl2.cpp')
-rw-r--r--src/yuzu_cmd/emu_window/emu_window_sdl2.cpp8
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