summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2014-08-13 19:10:45 +0200
committerbunnei <bunneidev@gmail.com>2014-08-13 19:10:45 +0200
commit388356f629831a7095dc7d2e31820a638e66ab76 (patch)
tree307e83cc2934535ae28fdbb0f4849ed23025700a
parentMerge pull request #44 from archshift/clang-build (diff)
parentUse glewExperimental on Linux in order to fix GLFW-mode (diff)
downloadyuzu-388356f629831a7095dc7d2e31820a638e66ab76.tar
yuzu-388356f629831a7095dc7d2e31820a638e66ab76.tar.gz
yuzu-388356f629831a7095dc7d2e31820a638e66ab76.tar.bz2
yuzu-388356f629831a7095dc7d2e31820a638e66ab76.tar.lz
yuzu-388356f629831a7095dc7d2e31820a638e66ab76.tar.xz
yuzu-388356f629831a7095dc7d2e31820a638e66ab76.tar.zst
yuzu-388356f629831a7095dc7d2e31820a638e66ab76.zip
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() {
/// 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();