2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

Use glewExperimental on Linux in order to fix GLFW-mode

This commit is contained in:
archshift 2014-08-12 13:42:04 -07:00
parent 0ccd026a6d
commit d71af1bd20

View file

@ -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();