mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	Use glewExperimental on Linux in order to fix GLFW-mode
This commit is contained in:
		
							parent
							
								
									0ccd026a6d
								
							
						
					
					
						commit
						d71af1bd20
					
				
					 1 changed files with 2 additions and 3 deletions
				
			
		|  | @ -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 |     // Required in order for GLFW to work on Linux, 
 | ||||||
|     // Known problem with GLEW prevents contexts above 2.x on OSX unless glewExperimental is enabled.
 |     // 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(); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue