diff options
Diffstat (limited to 'platform/iphone/globals')
-rw-r--r-- | platform/iphone/globals/global_defaults.cpp | 11 | ||||
-rw-r--r-- | platform/iphone/globals/global_defaults.h | 3 |
2 files changed, 14 insertions, 0 deletions
diff --git a/platform/iphone/globals/global_defaults.cpp b/platform/iphone/globals/global_defaults.cpp new file mode 100644 index 0000000000..63463ab366 --- /dev/null +++ b/platform/iphone/globals/global_defaults.cpp @@ -0,0 +1,11 @@ + +#include "global_defaults.h" +#include "globals.h" + + +void register_iphone_global_defaults() { + + GLOBAL_DEF("rasterizer.iOS/use_fragment_lighting",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")); +} diff --git a/platform/iphone/globals/global_defaults.h b/platform/iphone/globals/global_defaults.h new file mode 100644 index 0000000000..25f1ae687e --- /dev/null +++ b/platform/iphone/globals/global_defaults.h @@ -0,0 +1,3 @@ + + +void register_iphone_global_defaults();
\ No newline at end of file |