1
0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-09-15 00:55:33 +00:00

Merge pull request from archshift/glexp

Use glewExperimental to fix crashes with citra-glfw
This commit is contained in:
bunnei 2014-08-13 13:10:45 -04:00
commit 388356f629

@ -31,10 +31,9 @@ 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.
// Required in order for GLFW to work on Linux,
// or for GL contexts above 2.x on OS X
glewExperimental = GL_TRUE;
#endif
g_emu_window = emu_window;
g_emu_window->MakeCurrent();