mirror of
				https://github.com/godotengine/godot.git
				synced 2025-11-03 23:21:15 +00:00 
			
		
		
		
	
							parent
							
								
									33bcf1c5d1
								
							
						
					
					
						commit
						80d46acf5d
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -389,6 +389,7 @@ const GodotDisplay = {
 | 
				
			||||||
		GodotRuntime.setHeapValue(height, window.screen.height * scale, 'i32');
 | 
							GodotRuntime.setHeapValue(height, window.screen.height * scale, 'i32');
 | 
				
			||||||
	},
 | 
						},
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						godot_js_display_window_size_get__sig: 'vii',
 | 
				
			||||||
	godot_js_display_window_size_get: function (p_width, p_height) {
 | 
						godot_js_display_window_size_get: function (p_width, p_height) {
 | 
				
			||||||
		GodotRuntime.setHeapValue(p_width, GodotConfig.canvas.width, 'i32');
 | 
							GodotRuntime.setHeapValue(p_width, GodotConfig.canvas.width, 'i32');
 | 
				
			||||||
		GodotRuntime.setHeapValue(p_height, GodotConfig.canvas.height, 'i32');
 | 
							GodotRuntime.setHeapValue(p_height, GodotConfig.canvas.height, 'i32');
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue