summaryrefslogtreecommitdiffstats
path: root/src/video_core/video_core.cpp
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-06-10 01:51:09 +0200
committerbunnei <ericbunnie@gmail.com>2014-06-12 12:10:55 +0200
commitee4717aaaed6302aacd6d378bf0c75b811957c40 (patch)
treea103ab1c58e1d19ce0d0e28516cb8bcad63b8da1 /src/video_core/video_core.cpp
parentCommon: Removed duplicate "LONG" and "MAX_PATH" definitions. (diff)
downloadyuzu-ee4717aaaed6302aacd6d378bf0c75b811957c40.tar
yuzu-ee4717aaaed6302aacd6d378bf0c75b811957c40.tar.gz
yuzu-ee4717aaaed6302aacd6d378bf0c75b811957c40.tar.bz2
yuzu-ee4717aaaed6302aacd6d378bf0c75b811957c40.tar.lz
yuzu-ee4717aaaed6302aacd6d378bf0c75b811957c40.tar.xz
yuzu-ee4717aaaed6302aacd6d378bf0c75b811957c40.tar.zst
yuzu-ee4717aaaed6302aacd6d378bf0c75b811957c40.zip
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 cbd540bdf..3b8039de4 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();