mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-30 12:30:05 +00:00 
			
		
		
		
	Specify OpenGL as the renderable type
This commit is contained in:
		
							parent
							
								
									4e74a8d38e
								
							
						
					
					
						commit
						6b09b7cb9b
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -246,6 +246,7 @@ static void InitializeOpenGL() | |||
| 
 | ||||
|    QSurfaceFormat surfaceFormat = QSurfaceFormat::defaultFormat(); | ||||
|    surfaceFormat.setProfile(QSurfaceFormat::OpenGLContextProfile::CoreProfile); | ||||
|    surfaceFormat.setRenderableType(QSurfaceFormat::RenderableType::OpenGL); | ||||
| 
 | ||||
| #if defined(__APPLE__) | ||||
|    // For macOS, we must choose between OpenGL 4.1 Core and OpenGL 2.1
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat