diff options
| author | 2014-06-09 16:51:09 -0700 | |
|---|---|---|
| committer | 2014-06-12 06:10:55 -0400 | |
| commit | ee4717aaaed6302aacd6d378bf0c75b811957c40 (patch) | |
| tree | a103ab1c58e1d19ce0d0e28516cb8bcad63b8da1 /src/video_core | |
| parent | Common: Removed duplicate "LONG" and "MAX_PATH" definitions. (diff) | |
| download | yuzu-ee4717aaaed6302aacd6d378bf0c75b811957c40.tar.gz yuzu-ee4717aaaed6302aacd6d378bf0c75b811957c40.tar.xz yuzu-ee4717aaaed6302aacd6d378bf0c75b811957c40.zip | |
Preprocessor: #if's out OSX-specific GL changes on other platforms
Diffstat (limited to 'src/video_core')
| -rw-r--r-- | src/video_core/video_core.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/video_core.cpp b/src/video_core/video_core.cpp index cbd540bdf..3b8039de4 100644 --- a/src/video_core/video_core.cpp +++ b/src/video_core/video_core.cpp | |||
| @@ -30,8 +30,11 @@ void Start() { | |||
| 30 | 30 | ||
| 31 | /// Initialize the video core | 31 | /// Initialize the video core |
| 32 | void Init(EmuWindow* emu_window) { | 32 | void Init(EmuWindow* emu_window) { |
| 33 | |||
| 34 | #if EMU_PLATFORM == PLATFORM_MACOSX | ||
| 33 | // Known problem with GLEW prevents contexts above 2.x on OSX unless glewExperimental is enabled. | 35 | // Known problem with GLEW prevents contexts above 2.x on OSX unless glewExperimental is enabled. |
| 34 | glewExperimental = GL_TRUE; | 36 | glewExperimental = GL_TRUE; |
| 37 | #endif | ||
| 35 | 38 | ||
| 36 | g_emu_window = emu_window; | 39 | g_emu_window = emu_window; |
| 37 | g_emu_window->MakeCurrent(); | 40 | g_emu_window->MakeCurrent(); |