summaryrefslogtreecommitdiff
path: root/platform/iphone/globals/global_defaults.cpp
blob: a4929c57dcff6d5a0763e8553d8cb64c12650ef6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12

#include "global_defaults.h"
#include "globals.h"


void register_iphone_global_defaults() {

	GLOBAL_DEF("rasterizer.iOS/use_fragment_lighting",false);
	GLOBAL_DEF("rasterizer.iOS/fp16_framebuffer",false);
	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"));
}