summaryrefslogtreecommitdiff
path: root/src/citra/emu_window/emu_window_glfw.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/citra/emu_window/emu_window_glfw.cpp')
-rw-r--r--src/citra/emu_window/emu_window_glfw.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/citra/emu_window/emu_window_glfw.cpp b/src/citra/emu_window/emu_window_glfw.cpp
index 661521eb7..6cdba2b87 100644
--- a/src/citra/emu_window/emu_window_glfw.cpp
+++ b/src/citra/emu_window/emu_window_glfw.cpp
@@ -42,12 +42,9 @@ EmuWindow_GLFW::EmuWindow_GLFW() {
42 } 42 }
43 glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3); 43 glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3);
44 glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 2); 44 glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 2);
45
46#if EMU_PLATFORM == PLATFORM_MACOSX
47 // GLFW on OSX requires these window hints to be set to create a 3.2+ GL context. 45 // GLFW on OSX requires these window hints to be set to create a 3.2+ GL context.
48 glfwWindowHint(GLFW_OPENGL_FORWARD_COMPAT, GL_TRUE); 46 glfwWindowHint(GLFW_OPENGL_FORWARD_COMPAT, GL_TRUE);
49 glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE); 47 glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);
50#endif
51 48
52 m_render_window = glfwCreateWindow(VideoCore::kScreenTopWidth, 49 m_render_window = glfwCreateWindow(VideoCore::kScreenTopWidth,
53 (VideoCore::kScreenTopHeight + VideoCore::kScreenBottomHeight), 50 (VideoCore::kScreenTopHeight + VideoCore::kScreenBottomHeight),