| 
									
										
										
										
											2014-02-09 22:10:30 -03:00
										 |  |  | 
 | 
					
						
							|  |  |  | #include "global_defaults.h"
 | 
					
						
							|  |  |  | #include "globals.h"
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | void register_iphone_global_defaults() { | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	GLOBAL_DEF("rasterizer.iOS/use_fragment_lighting",false); | 
					
						
							| 
									
										
										
										
											2014-08-01 23:35:36 -03:00
										 |  |  | 	GLOBAL_DEF("rasterizer.iOS/fp16_framebuffer",false); | 
					
						
							| 
									
										
										
										
											2014-02-09 22:10:30 -03:00
										 |  |  | 	GLOBAL_DEF("display.iOS/driver","GLES2"); | 
					
						
							|  |  |  | 	Globals::get_singleton()->set_custom_property_info("display.iOS/driver",PropertyInfo(Variant::STRING,"display.iOS/driver",PROPERTY_HINT_ENUM,"GLES1,GLES2")); | 
					
						
							| 
									
										
										
										
											2015-10-22 17:31:09 -07:00
										 |  |  | 	GLOBAL_DEF("display.iOS/use_cadisplaylink",true); | 
					
						
							| 
									
										
										
										
											2014-02-09 22:10:30 -03:00
										 |  |  | } |