From ee4717aaaed6302aacd6d378bf0c75b811957c40 Mon Sep 17 00:00:00 2001 From: archshift Date: Mon, 9 Jun 2014 16:51:09 -0700 Subject: Preprocessor: #if's out OSX-specific GL changes on other platforms --- src/video_core/video_core.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/video_core/video_core.cpp') 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(); -- cgit v1.2.3