mirror of
				https://github.com/glfw/glfw.git
				synced 2025-10-31 20:52:38 +00:00 
			
		
		
		
	
							parent
							
								
									c0d1249ca2
								
							
						
					
					
						commit
						2032a8f0dc
					
				| @ -1276,9 +1276,9 @@ static int createNativeWindow(_GLFWwindow* window, | |||||||
| 
 | 
 | ||||||
|     window->win32.scaleToMonitor = wndconfig->scaleToMonitor; |     window->win32.scaleToMonitor = wndconfig->scaleToMonitor; | ||||||
| 
 | 
 | ||||||
|     // Adjust window size to account for DPI scaling of the window frame and
 |     // Adjust window rect to account for DPI scaling of the window frame and
 | ||||||
|     // optionally DPI scaling of the content area
 |     // (if enabled) DPI scaling of the content area
 | ||||||
|     // This cannot be done until we know what monitor it was placed on
 |     // This cannot be done until we know what monitor the window was placed on
 | ||||||
|     if (!window->monitor) |     if (!window->monitor) | ||||||
|     { |     { | ||||||
|         RECT rect = { 0, 0, wndconfig->width, wndconfig->height }; |         RECT rect = { 0, 0, wndconfig->width, wndconfig->height }; | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user