mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
2D Rewrite Step [1]
-=-=-=-=-=-=-=-=-=- -Moved drawing code to a single function that takes linked list (should make it easier to optimize in the future). -Implemented Z ordering of 2D nodes. Node2D and those that inherit have a visibility/Z property that affects drawing order (besides the tree order) -Removed OpenGL ES 1.x support. Good riddance!
This commit is contained in:
parent
78f4b93703
commit
8997084831
35 changed files with 653 additions and 7694 deletions
|
@ -821,10 +821,7 @@ JNIEXPORT void JNICALL Java_com_android_godot_GodotLib_initialize(JNIEnv * env,
|
|||
String vd = Globals::get_singleton()->get("display/driver");
|
||||
|
||||
|
||||
if (vd.to_upper()=="GLES1")
|
||||
env->CallVoidMethod(_godot_instance, _on_video_init, (jboolean)false);
|
||||
else
|
||||
env->CallVoidMethod(_godot_instance, _on_video_init, (jboolean)true);
|
||||
env->CallVoidMethod(_godot_instance, _on_video_init, (jboolean)true);
|
||||
|
||||
__android_log_print(ANDROID_LOG_INFO,"godot","**START");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue