mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 04:31:15 -06:00 
			
		
		
		
	When the legacy OpenGL 1.2 is enforced, suppress anti aliasing as well.
Let's hope it will be a valid workaround for the reoccuring buggy Intel HD Graphics driver issue.
This commit is contained in:
		
							parent
							
								
									74cb74f1fc
								
							
						
					
					
						commit
						673e98bc83
					
				
					 2 changed files with 2 additions and 1 deletions
				
			
		|  | @ -108,6 +108,7 @@ sub new { | |||
|     # We can only enable multi sample anti aliasing wih wxWidgets 3.0.3 and with a hacked Wx::GLCanvas, | ||||
|     # which exports some new WX_GL_XXX constants, namely WX_GL_SAMPLE_BUFFERS and WX_GL_SAMPLES. | ||||
|     my $can_multisample = | ||||
|         ! wxTheApp->{app_config}->get('use_legacy_opengl') && | ||||
|         Wx::wxVERSION >= 3.000003 && | ||||
|         defined Wx::GLCanvas->can('WX_GL_SAMPLE_BUFFERS') && | ||||
|         defined Wx::GLCanvas->can('WX_GL_SAMPLES'); | ||||
|  |  | |||
|  | @ -76,7 +76,7 @@ sub new { | |||
|         opt_id      => 'use_legacy_opengl', | ||||
|         type        => 'bool', | ||||
|         label       => 'Use legacy OpenGL 1.1 rendering', | ||||
|         tooltip     => 'If you have rendering issues caused by a buggy OpenGL 2.0 driver, you may try to check this checkbox. This will disable the layer height editing, so it is likely better to upgrade your graphics driver.', | ||||
|         tooltip     => 'If you have rendering issues caused by a buggy OpenGL 2.0 driver, you may try to check this checkbox. This will disable the layer height editing and anti aliasing, so it is likely better to upgrade your graphics driver.', | ||||
|         default     => $app_config->get("use_legacy_opengl"), | ||||
|     )); | ||||
|      | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 bubnikv
						bubnikv