aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/video_core/video_core.cpp
diff options
context:
space:
mode:
authorGravatar archshift <admin@archshift.com>2014-08-12 13:42:04 -0700
committerGravatar archshift <admin@archshift.com>2014-08-12 13:42:04 -0700
commitd71af1bd20534e928baf3f48298bad1a28356be7 (patch)
tree77487c49faad7f9d9be1b4454530acab7dca9968 /src/video_core/video_core.cpp
parent0ccd026a6d1b5dc6439dfc3ae3d635ea4f09a1a4 (diff)
Use glewExperimental on Linux in order to fix GLFW-mode
Diffstat (limited to 'src/video_core/video_core.cpp')
-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 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();