summaryrefslogtreecommitdiffstats
path: root/src/yuzu_cmd/emu_window
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-04-27 01:12:13 +0200
committerLioncash <mathew1800@gmail.com>2018-04-27 01:14:48 +0200
commit3062eb52f4b43c4ee861bd944291f1f9aba198df (patch)
treee21fe52553e8bf09c53631d7694288aaed1ff22c /src/yuzu_cmd/emu_window
parentMerge pull request #402 from lioncash/core (diff)
downloadyuzu-3062eb52f4b43c4ee861bd944291f1f9aba198df.tar
yuzu-3062eb52f4b43c4ee861bd944291f1f9aba198df.tar.gz
yuzu-3062eb52f4b43c4ee861bd944291f1f9aba198df.tar.bz2
yuzu-3062eb52f4b43c4ee861bd944291f1f9aba198df.tar.lz
yuzu-3062eb52f4b43c4ee861bd944291f1f9aba198df.tar.xz
yuzu-3062eb52f4b43c4ee861bd944291f1f9aba198df.tar.zst
yuzu-3062eb52f4b43c4ee861bd944291f1f9aba198df.zip
Diffstat (limited to 'src/yuzu_cmd/emu_window')
-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) {
// Initialize the window
if (SDL_Init(SDL_INIT_VIDEO) < 0) {
- LOG_CRITICAL(Frontend, "Failed to initialize SDL2! Exiting...");
+ NGLOG_CRITICAL(Frontend, "Failed to initialize SDL2! Exiting...");
exit(1);
}
@@ -107,7 +107,7 @@ EmuWindow_SDL2::EmuWindow_SDL2(bool fullscreen) {
SDL_WINDOW_OPENGL | SDL_WINDOW_RESIZABLE | SDL_WINDOW_ALLOW_HIGHDPI);
if (render_window == nullptr) {
- LOG_CRITICAL(Frontend, "Failed to create SDL2 window! Exiting...");
+ NGLOG_CRITICAL(Frontend, "Failed to create SDL2 window! Exiting...");
exit(1);
}
@@ -118,12 +118,12 @@ EmuWindow_SDL2::EmuWindow_SDL2(bool fullscreen) {
gl_context = SDL_GL_CreateContext(render_window);
if (gl_context == nullptr) {
- LOG_CRITICAL(Frontend, "Failed to create SDL2 GL context! Exiting...");
+ NGLOG_CRITICAL(Frontend, "Failed to create SDL2 GL context! Exiting...");
exit(1);
}
if (!gladLoadGLLoader(static_cast<GLADloadproc>(SDL_GL_GetProcAddress))) {
- LOG_CRITICAL(Frontend, "Failed to initialize GL functions! Exiting...");
+ NGLOG_CRITICAL(Frontend, "Failed to initialize GL functions! Exiting...");
exit(1);
}