From 0b806ee0fc9097fa7bda7ac0109191c9c5e0a1ac Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Sun, 9 Feb 2014 22:10:30 -0300 Subject: GODOT IS OPEN SOURCE --- platform/android/globals/global_defaults.cpp | 13 +++++++++++++ platform/android/globals/global_defaults.h | 3 +++ 2 files changed, 16 insertions(+) create mode 100644 platform/android/globals/global_defaults.cpp create mode 100644 platform/android/globals/global_defaults.h (limited to 'platform/android/globals') diff --git a/platform/android/globals/global_defaults.cpp b/platform/android/globals/global_defaults.cpp new file mode 100644 index 0000000000..c6f852a592 --- /dev/null +++ b/platform/android/globals/global_defaults.cpp @@ -0,0 +1,13 @@ + +#include "global_defaults.h" +#include "globals.h" + + +void register_android_global_defaults() { + + GLOBAL_DEF("rasterizer.Android/use_fragment_lighting",false); + GLOBAL_DEF("display.Android/driver","GLES2"); + GLOBAL_DEF("rasterizer.Android/trilinear_mipmap_filter",false); + + Globals::get_singleton()->set_custom_property_info("display.Android/driver",PropertyInfo(Variant::STRING,"display.Android/driver",PROPERTY_HINT_ENUM,"GLES1,GLES2")); +} diff --git a/platform/android/globals/global_defaults.h b/platform/android/globals/global_defaults.h new file mode 100644 index 0000000000..64eb26c482 --- /dev/null +++ b/platform/android/globals/global_defaults.h @@ -0,0 +1,3 @@ + + +void register_android_global_defaults(); \ No newline at end of file -- cgit v1.2.3