summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-08-12 22:42:04 +0200
committerarchshift <admin@archshift.com>2014-08-12 22:42:04 +0200
commitd71af1bd20534e928baf3f48298bad1a28356be7 (patch)
tree77487c49faad7f9d9be1b4454530acab7dca9968
parentMerge pull request #41 from archshift/itr (diff)
downloadyuzu-d71af1bd20534e928baf3f48298bad1a28356be7.tar
yuzu-d71af1bd20534e928baf3f48298bad1a28356be7.tar.gz
yuzu-d71af1bd20534e928baf3f48298bad1a28356be7.tar.bz2
yuzu-d71af1bd20534e928baf3f48298bad1a28356be7.tar.lz
yuzu-d71af1bd20534e928baf3f48298bad1a28356be7.tar.xz
yuzu-d71af1bd20534e928baf3f48298bad1a28356be7.tar.zst
yuzu-d71af1bd20534e928baf3f48298bad1a28356be7.zip
-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() {
/// Initialize the video core
void Init(EmuWindow* emu_window) {
-#if EMU_PLATFORM == PLATFORM_MACOSX
- // Known problem with GLEW prevents contexts above 2.x on OSX unless glewExperimental is enabled.
+ // Required in order for GLFW to work on Linux,
+ // or for GL contexts above 2.x on OS X
glewExperimental = GL_TRUE;
-#endif
g_emu_window = emu_window;
g_emu_window->MakeCurrent();