summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarroffel <therzog@mail.de>2017-04-11 01:29:33 +0200
committerKarroffel <therzog@mail.de>2017-04-11 01:45:58 +0200
commit7919ec6d8902bd4013d2aadf1f0a2b246c355445 (patch)
treeb7725e5656c3febf648287bc796c0533ade1e3d5
parent200c84b6b2c7557d83ec9f22fa4e995e5fc08167 (diff)
[GDNative] re-enabled some init options
-rw-r--r--modules/gdnative/gdnative.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/gdnative/gdnative.cpp b/modules/gdnative/gdnative.cpp
index f646060d49..b543a486d3 100644
--- a/modules/gdnative/gdnative.cpp
+++ b/modules/gdnative/gdnative.cpp
@@ -77,11 +77,9 @@ Error NativeLibrary::initialize(NativeLibrary *&p_native_lib, const StringName p
godot_native_init_options options;
options.in_editor = SceneTree::get_singleton()->is_editor_hint();
- /*
options.core_api_hash = ClassDB::get_api_hash(ClassDB::API_CORE);
options.editor_api_hash = ClassDB::get_api_hash(ClassDB::API_EDITOR);
options.no_api_hash = ClassDB::get_api_hash(ClassDB::API_NONE);
- */
library_init_fpointer(&options); // Catch errors?