Set initialization level to CORE

This should eventually be configurable with user callbacks, but for now
assume the lowest level to ensure the initialization is called.
This commit is contained in:
George Marques
2021-09-03 09:31:29 -03:00
committed by Bastiaan Olij
parent e8030ed1cf
commit 8eb6f129f8
2 changed files with 372 additions and 107 deletions

View File

@@ -54,6 +54,7 @@ GDNativeBool GDExtensionBinding::init(const GDNativeInterface *p_interface, cons
r_initialization->initialize = initialize_level;
r_initialization->deinitialize = deinitialize_level;
r_initialization->minimum_initialization_level = GDNATIVE_INITIALIZATION_CORE;
Variant::init_bindings();