summaryrefslogtreecommitdiffstats
path: root/src/citra/emu_window/emu_window_glfw.cpp
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-05-01 05:12:01 +0200
committerarchshift <admin@archshift.com>2014-05-01 05:13:28 +0200
commit704075f04a8adda82141f3c68addfd6c34a08765 (patch)
tree4f2d735372ffd90d59ec0cac28da76411c7c758f /src/citra/emu_window/emu_window_glfw.cpp
parentReverse debugging changes (diff)
downloadyuzu-704075f04a8adda82141f3c68addfd6c34a08765.tar
yuzu-704075f04a8adda82141f3c68addfd6c34a08765.tar.gz
yuzu-704075f04a8adda82141f3c68addfd6c34a08765.tar.bz2
yuzu-704075f04a8adda82141f3c68addfd6c34a08765.tar.lz
yuzu-704075f04a8adda82141f3c68addfd6c34a08765.tar.xz
yuzu-704075f04a8adda82141f3c68addfd6c34a08765.tar.zst
yuzu-704075f04a8adda82141f3c68addfd6c34a08765.zip
Diffstat (limited to '')
-rw-r--r--src/citra/emu_window/emu_window_glfw.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/citra/emu_window/emu_window_glfw.cpp b/src/citra/emu_window/emu_window_glfw.cpp
index ea1499e7c..73c116373 100644
--- a/src/citra/emu_window/emu_window_glfw.cpp
+++ b/src/citra/emu_window/emu_window_glfw.cpp
@@ -28,17 +28,17 @@ EmuWindow_GLFW::EmuWindow_GLFW() {
}
glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3);
glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 2);
- glfwWindowHint(GLFW_OPENGL_FORWARD_COMPAT, GL_TRUE);
- glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);
+ glfwWindowHint(GLFW_OPENGL_FORWARD_COMPAT, GL_TRUE);
+ glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);
m_render_window = glfwCreateWindow(VideoCore::kScreenTopWidth,
(VideoCore::kScreenTopHeight + VideoCore::kScreenBottomHeight),
m_window_title.c_str(), NULL, NULL);
- if (m_render_window == NULL) {
- printf("Failed to create GLFW window! Exiting...");
- exit(1);
- }
-
+ if (m_render_window == NULL) {
+ printf("Failed to create GLFW window! Exiting...");
+ exit(1);
+ }
+
// Setup callbacks
glfwSetWindowUserPointer(m_render_window, this);
//glfwSetKeyCallback(m_render_window, OnKeyEvent);