mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-25 11:26:37 +00:00 
			
		
		
		
	Merge pull request #2950 from elsid/fit_stats
Make all stats fit into the window
This commit is contained in:
		
						commit
						349a11864f
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		|  | @ -25,7 +25,7 @@ StatsHandler::StatsHandler(): | ||||||
|     _statsWidth(1280.0f), |     _statsWidth(1280.0f), | ||||||
|     _statsHeight(1024.0f), |     _statsHeight(1024.0f), | ||||||
|     _font(""), |     _font(""), | ||||||
|     _characterSize(20.0f) |     _characterSize(18.0f) | ||||||
| { | { | ||||||
|     _camera = new osg::Camera; |     _camera = new osg::Camera; | ||||||
|     _camera->getOrCreateStateSet()->setGlobalDefaults(); |     _camera->getOrCreateStateSet()->setGlobalDefaults(); | ||||||
|  | @ -45,6 +45,8 @@ Profiler::Profiler() | ||||||
|     else |     else | ||||||
|         _font = ""; |         _font = ""; | ||||||
| 
 | 
 | ||||||
|  |     _characterSize = 18; | ||||||
|  | 
 | ||||||
|     setKeyEventTogglesOnScreenStats(osgGA::GUIEventAdapter::KEY_F3); |     setKeyEventTogglesOnScreenStats(osgGA::GUIEventAdapter::KEY_F3); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue