summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar archshift2014-08-12 13:42:04 -0700
committerGravatar archshift2014-08-12 13:42:04 -0700
commitd71af1bd20534e928baf3f48298bad1a28356be7 (patch)
tree77487c49faad7f9d9be1b4454530acab7dca9968
parentMerge pull request #41 from archshift/itr (diff)
downloadyuzu-d71af1bd20534e928baf3f48298bad1a28356be7.tar.gz
yuzu-d71af1bd20534e928baf3f48298bad1a28356be7.tar.xz
yuzu-d71af1bd20534e928baf3f48298bad1a28356be7.zip
Use glewExperimental on Linux in order to fix GLFW-mode
Diffstat (limited to '')
-rw-r--r--src/video_core/video_core.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/video_core/video_core.cpp b/src/video_core/video_core.cpp
index 3b8039de4..087b08026 100644
--- a/src/video_core/video_core.cpp
+++ b/src/video_core/video_core.cpp
@@ -31,10 +31,9 @@ void Start() {
31/// Initialize the video core 31/// Initialize the video core
32void Init(EmuWindow* emu_window) { 32void Init(EmuWindow* emu_window) {
33 33
34#if EMU_PLATFORM == PLATFORM_MACOSX 34 // Required in order for GLFW to work on Linux,
35 // Known problem with GLEW prevents contexts above 2.x on OSX unless glewExperimental is enabled. 35 // or for GL contexts above 2.x on OS X
36 glewExperimental = GL_TRUE; 36 glewExperimental = GL_TRUE;
37#endif
38 37
39 g_emu_window = emu_window; 38 g_emu_window = emu_window;
40 g_emu_window->MakeCurrent(); 39 g_emu_window->MakeCurrent();