From d71af1bd20534e928baf3f48298bad1a28356be7 Mon Sep 17 00:00:00 2001 From: archshift Date: Tue, 12 Aug 2014 13:42:04 -0700 Subject: Use glewExperimental on Linux in order to fix GLFW-mode --- src/video_core/video_core.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/video_core/video_core.cpp') diff --git a/src/video_core/video_core.cpp b/src/video_core/video_core.cpp index 3b8039de..087b0802 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(); -- cgit v1.2.3