diff options
author | bunnei <bunneidev@gmail.com> | 2014-12-07 19:40:04 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2014-12-07 19:40:04 +0100 |
commit | 2aa2d341d04b10a5ecb49acbcf3579cf2c2ae35c (patch) | |
tree | 4beadeb20c206faf4f85c25d15eee39c964857f6 /src/citra | |
parent | Merge pull request #252 from yuriks/patch-1 (diff) | |
parent | Change NULLs to nullptrs. (diff) | |
download | yuzu-2aa2d341d04b10a5ecb49acbcf3579cf2c2ae35c.tar yuzu-2aa2d341d04b10a5ecb49acbcf3579cf2c2ae35c.tar.gz yuzu-2aa2d341d04b10a5ecb49acbcf3579cf2c2ae35c.tar.bz2 yuzu-2aa2d341d04b10a5ecb49acbcf3579cf2c2ae35c.tar.lz yuzu-2aa2d341d04b10a5ecb49acbcf3579cf2c2ae35c.tar.xz yuzu-2aa2d341d04b10a5ecb49acbcf3579cf2c2ae35c.tar.zst yuzu-2aa2d341d04b10a5ecb49acbcf3579cf2c2ae35c.zip |
Diffstat (limited to 'src/citra')
-rw-r--r-- | src/citra/emu_window/emu_window_glfw.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/citra/emu_window/emu_window_glfw.cpp b/src/citra/emu_window/emu_window_glfw.cpp index 697bf4693..982619126 100644 --- a/src/citra/emu_window/emu_window_glfw.cpp +++ b/src/citra/emu_window/emu_window_glfw.cpp @@ -76,9 +76,9 @@ EmuWindow_GLFW::EmuWindow_GLFW() { std::string window_title = Common::StringFromFormat("Citra | %s-%s", Common::g_scm_branch, Common::g_scm_desc); m_render_window = glfwCreateWindow(VideoCore::kScreenTopWidth, (VideoCore::kScreenTopHeight + VideoCore::kScreenBottomHeight), - window_title.c_str(), NULL, NULL); + window_title.c_str(), nullptr, nullptr); - if (m_render_window == NULL) { + if (m_render_window == nullptr) { ERROR_LOG(GUI, "Failed to create GLFW window! Exiting..."); exit(1); } @@ -123,7 +123,7 @@ void EmuWindow_GLFW::MakeCurrent() { /// Releases (dunno if this is the "right" word) the GLFW context from the caller thread void EmuWindow_GLFW::DoneCurrent() { - glfwMakeContextCurrent(NULL); + glfwMakeContextCurrent(nullptr); } void EmuWindow_GLFW::ReloadSetKeymaps() { |