aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/video_core/video_core.cpp
diff options
context:
space:
mode:
authorGravatar archshift <admin@archshift.com>2014-06-09 16:51:09 -0700
committerGravatar bunnei <ericbunnie@gmail.com>2014-06-12 06:10:55 -0400
commitee4717aaaed6302aacd6d378bf0c75b811957c40 (patch)
treea103ab1c58e1d19ce0d0e28516cb8bcad63b8da1 /src/video_core/video_core.cpp
parent06ef8f001a904c9c6e300a488503fa76177ebe10 (diff)
Preprocessor: #if's out OSX-specific GL changes on other platforms
Diffstat (limited to 'src/video_core/video_core.cpp')
-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 cbd540bd..3b8039de 100644
--- a/src/video_core/video_core.cpp
+++ b/src/video_core/video_core.cpp
@@ -30,8 +30,11 @@ 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.
glewExperimental = GL_TRUE;
+#endif
g_emu_window = emu_window;
g_emu_window->MakeCurrent();