summaryrefslogtreecommitdiff
path: root/src/video_core
diff options
context:
space:
mode:
authorGravatar archshift2014-06-09 16:51:09 -0700
committerGravatar bunnei2014-06-12 06:10:55 -0400
commitee4717aaaed6302aacd6d378bf0c75b811957c40 (patch)
treea103ab1c58e1d19ce0d0e28516cb8bcad63b8da1 /src/video_core
parentCommon: Removed duplicate "LONG" and "MAX_PATH" definitions. (diff)
downloadyuzu-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.cpp3
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
32void Init(EmuWindow* emu_window) { 32void 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();