mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 04:10:06 +00:00 
			
		
		
		
	Enable anti-aliasing (MSAA x4)
This commit is contained in:
		
							parent
							
								
									c6c64de169
								
							
						
					
					
						commit
						f512df9dd6
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		|  | @ -191,6 +191,10 @@ public slots: | |||
| MapWidget::MapWidget(const QMapLibreGL::Settings& settings) : | ||||
|     p(std::make_unique<MapWidgetImpl>(this, settings)) | ||||
| { | ||||
|    QSurfaceFormat surfaceFormat = QSurfaceFormat::defaultFormat(); | ||||
|    surfaceFormat.setSamples(4); | ||||
|    setFormat(surfaceFormat); | ||||
| 
 | ||||
|    setFocusPolicy(Qt::StrongFocus); | ||||
| 
 | ||||
|    ImGui_ImplQt_RegisterWidget(this); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat