소스 검색

Use glewExperimental on Linux in order to fix GLFW-mode

archshift 12 년 전
부모
커밋
d71af1bd20
1개의 변경된 파일2개의 추가작업 그리고 3개의 파일을 삭제
  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
 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();