Quellcode durchsuchen

Merge pull request #42 from archshift/glexp

Use glewExperimental to fix crashes with citra-glfw
bunnei vor 12 Jahren
Ursprung
Commit
388356f629
1 geänderte Dateien mit 2 neuen und 3 gelöschten Zeilen
  1. 2 3
      src/video_core/video_core.cpp

+ 2 - 3
src/video_core/video_core.cpp

@@ -31,10 +31,9 @@ void Start() {
 /// Initialize the video core
 /// Initialize the video core
 void Init(EmuWindow* emu_window) {
 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;
     glewExperimental = GL_TRUE;
-#endif
 
 
     g_emu_window = emu_window;
     g_emu_window = emu_window;
     g_emu_window->MakeCurrent();
     g_emu_window->MakeCurrent();