mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 13:41:03 +00:00 
			
		
		
		
	Style: Fix whole-line commented code
They do not play well with clang-format which aligns the `//` part with the rest of the code block, thus producing badly indented commented code.
This commit is contained in:
		
							parent
							
								
									78e90ac60b
								
							
						
					
					
						commit
						93ab45b6b5
					
				
					 306 changed files with 1889 additions and 1535 deletions
				
			
		|  | @ -243,7 +243,7 @@ void OS_JavaScript::initialize(const VideoMode& p_desired,int p_video_driver,int | |||
| 			rasterizer_gles22->set_extensions(gl_extensions); | ||||
| 		rasterizer = rasterizer_gles22; | ||||
| 	} else { | ||||
| //		rasterizer = memnew( RasterizerGLES1(true, false) );
 | ||||
| 		//rasterizer = memnew( RasterizerGLES1(true, false) );
 | ||||
| 	} | ||||
| 
 | ||||
| 	print_line("Init VS"); | ||||
|  | @ -561,7 +561,7 @@ void OS_JavaScript::push_input(const InputEvent& p_ev) { | |||
| 
 | ||||
| void OS_JavaScript::process_touch(int p_what,int p_pointer, const Vector<TouchPos>& p_points) { | ||||
| 
 | ||||
| //	print_line("ev: "+itos(p_what)+" pnt: "+itos(p_pointer)+" pointc: "+itos(p_points.size()));
 | ||||
| 	//print_line("ev: "+itos(p_what)+" pnt: "+itos(p_pointer)+" pointc: "+itos(p_points.size()));
 | ||||
| 
 | ||||
| 	switch(p_what) { | ||||
| 		case 0: { //gesture begin
 | ||||
|  | @ -804,8 +804,10 @@ String OS_JavaScript::get_resource_dir() const { | |||
| 
 | ||||
| String OS_JavaScript::get_data_dir() const { | ||||
| 
 | ||||
| 	//if (get_data_dir_func)
 | ||||
| 	//	return get_data_dir_func();
 | ||||
| 	/*
 | ||||
| 	if (get_data_dir_func) | ||||
| 		return get_data_dir_func(); | ||||
| 	*/ | ||||
| 	return "/userfs"; | ||||
| 	//return GlobalConfig::get_singleton()->get_singleton_object("GodotOS")->call("get_data_dir");
 | ||||
| }; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Rémi Verschelde
						Rémi Verschelde