summaryrefslogtreecommitdiff
path: root/src/citra
diff options
context:
space:
mode:
authorGravatar Yuri Kunde Schlesner2015-08-30 04:29:03 -0300
committerGravatar Yuri Kunde Schlesner2015-08-30 08:45:57 -0300
commit68eb19749456ba653c8286080f5be99ffc1ce5e7 (patch)
treefa73927175f3f970a67975ff0519464495d96fca /src/citra
parentReplace the previous OpenGL loader with a glad-generated 3.3 one (diff)
downloadyuzu-68eb19749456ba653c8286080f5be99ffc1ce5e7.tar.gz
yuzu-68eb19749456ba653c8286080f5be99ffc1ce5e7.tar.xz
yuzu-68eb19749456ba653c8286080f5be99ffc1ce5e7.zip
Increase required OpenGL version to 3.3
This gives us several niceties such as Sampler Objects, shader attribute locations and Timer Queries.
Diffstat (limited to 'src/citra')
-rw-r--r--src/citra/emu_window/emu_window_glfw.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/citra/emu_window/emu_window_glfw.cpp b/src/citra/emu_window/emu_window_glfw.cpp
index 096efc4a2..9453b1f48 100644
--- a/src/citra/emu_window/emu_window_glfw.cpp
+++ b/src/citra/emu_window/emu_window_glfw.cpp
@@ -89,7 +89,7 @@ EmuWindow_GLFW::EmuWindow_GLFW() {
89 exit(1); 89 exit(1);
90 } 90 }
91 glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3); 91 glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3);
92 glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 2); 92 glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3);
93 // GLFW on OSX requires these window hints to be set to create a 3.2+ GL context. 93 // GLFW on OSX requires these window hints to be set to create a 3.2+ GL context.
94 glfwWindowHint(GLFW_OPENGL_FORWARD_COMPAT, GL_TRUE); 94 glfwWindowHint(GLFW_OPENGL_FORWARD_COMPAT, GL_TRUE);
95 glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE); 95 glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);