summaryrefslogtreecommitdiffstats
path: root/src/citra/emu_window
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2014-08-30 23:17:47 +0200
committerTony Wasserka <NeoBrainX@gmail.com>2014-10-12 14:39:02 +0200
commitac54cd13dbb8e82ccc9134aab212271d2f32b0c8 (patch)
tree9eb2c6feaa64d889b9b46b4b5bedd1bb4e185ec9 /src/citra/emu_window
parentRework OpenGL renderer. (diff)
downloadyuzu-ac54cd13dbb8e82ccc9134aab212271d2f32b0c8.tar
yuzu-ac54cd13dbb8e82ccc9134aab212271d2f32b0c8.tar.gz
yuzu-ac54cd13dbb8e82ccc9134aab212271d2f32b0c8.tar.bz2
yuzu-ac54cd13dbb8e82ccc9134aab212271d2f32b0c8.tar.lz
yuzu-ac54cd13dbb8e82ccc9134aab212271d2f32b0c8.tar.xz
yuzu-ac54cd13dbb8e82ccc9134aab212271d2f32b0c8.tar.zst
yuzu-ac54cd13dbb8e82ccc9134aab212271d2f32b0c8.zip
Diffstat (limited to 'src/citra/emu_window')
-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() {
}
glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3);
glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 2);
-
-#if EMU_PLATFORM == PLATFORM_MACOSX
// GLFW on OSX requires these window hints to be set to create a 3.2+ GL context.
glfwWindowHint(GLFW_OPENGL_FORWARD_COMPAT, GL_TRUE);
glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);
-#endif
m_render_window = glfwCreateWindow(VideoCore::kScreenTopWidth,
(VideoCore::kScreenTopHeight + VideoCore::kScreenBottomHeight),