diff options
| author | 2014-08-12 13:42:04 -0700 | |
|---|---|---|
| committer | 2014-08-12 13:42:04 -0700 | |
| commit | d71af1bd20534e928baf3f48298bad1a28356be7 (patch) | |
| tree | 77487c49faad7f9d9be1b4454530acab7dca9968 /src | |
| parent | Merge pull request #41 from archshift/itr (diff) | |
| download | yuzu-d71af1bd20534e928baf3f48298bad1a28356be7.tar.gz yuzu-d71af1bd20534e928baf3f48298bad1a28356be7.tar.xz yuzu-d71af1bd20534e928baf3f48298bad1a28356be7.zip | |
Use glewExperimental on Linux in order to fix GLFW-mode
Diffstat (limited to 'src')
| -rw-r--r-- | src/video_core/video_core.cpp | 5 |
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 |
| 32 | void Init(EmuWindow* emu_window) { | 32 | void 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(); |