mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 12:41:20 -06:00 
			
		
		
		
	Enable the GLU tesselator on MSW if we have a recent OpenGL module
This commit is contained in:
		
							parent
							
								
									4848cb7606
								
							
						
					
					
						commit
						9dd228df01
					
				
					 1 changed files with 3 additions and 2 deletions
				
			
		|  | @ -226,8 +226,9 @@ sub Render { | |||
|     } | ||||
|      | ||||
|     my $tess; | ||||
|     if (!&Wx::wxMSW) { | ||||
|         # We can't use the GLU tesselator on MSW because of an upstream bug: | ||||
|     if (!(&Wx::wxMSW && $OpenGL::VERSION < 0.6704)) { | ||||
|         # We can't use the GLU tesselator on MSW with older OpenGL versions | ||||
|         # because of an upstream bug: | ||||
|         # http://sourceforge.net/p/pogl/bugs/16/ | ||||
|         $tess = gluNewTess(); | ||||
|         gluTessCallback($tess, GLU_TESS_BEGIN,     'DEFAULT'); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Alessandro Ranellucci
						Alessandro Ranellucci